1
0
Fork 0
mirror of https://github.com/avelino/awesome-go.git synced 2024-11-13 11:14:37 -05:00

build(ci): fix first comment github action

This fixes the error seen creating a new pull request.
This commit is contained in:
Paul Burlumi 2023-05-17 23:20:12 +01:00 committed by Avelino
parent 9348163cc9
commit db09a6a398

View file

@ -7,14 +7,16 @@ on:
jobs:
commentCreated:
runs-on: ubuntu-latest
permissions:
pull-requests: write
environment: action
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: first comment
uses: peter-evans/create-or-update-comment@v2
uses: peter-evans/create-or-update-comment@v3
with:
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}
body: |
Thank you for contributing with [awesome-go](https://awesome-go.com/), we will revise your contribution as soon as possible.