mirror of
https://github.com/avelino/awesome-go.git
synced 2024-11-07 16:33:40 +00:00
build(ci): fix first comment github action
This fixes the error seen creating a new pull request.
This commit is contained in:
parent
9348163cc9
commit
db09a6a398
@ -7,14 +7,16 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
commentCreated:
|
commentCreated:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
environment: action
|
environment: action
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- name: first comment
|
- name: first comment
|
||||||
uses: peter-evans/create-or-update-comment@v2
|
uses: peter-evans/create-or-update-comment@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
issue-number: ${{ github.event.pull_request.number }}
|
issue-number: ${{ github.event.pull_request.number }}
|
||||||
body: |
|
body: |
|
||||||
Thank you for contributing with [awesome-go](https://awesome-go.com/), we will revise your contribution as soon as possible.
|
Thank you for contributing with [awesome-go](https://awesome-go.com/), we will revise your contribution as soon as possible.
|
||||||
|
Loading…
Reference in New Issue
Block a user