Update _post-comment.yml

Passed the secret wrong.
This commit is contained in:
Claudia Meadows 2024-09-22 13:15:14 -07:00
parent 700b9f85a1
commit b8f5a10022
No known key found for this signature in database
GPG key ID: C86B594396786760

View file

@ -14,8 +14,10 @@ jobs:
notify:
runs-on: ubuntu-latest
steps:
- run: gh issue comment "$ISSUE_URL" --body "$MESSAGE"
- run: |
export GITHUB_TOKEN="$GH_TOKEN_SECRET"
gh issue comment "$ISSUE_URL" --body "$MESSAGE"
env:
ISSUE_URL: ${{ inputs.url }}
MESSAGE: ${{ inputs.message }}
GITHUB_TOKEN: ${{ github.token }}
GH_TOKEN_SECRET: ${{ github.token }}