Skip to content

Commit

Permalink
Update _post-comment.yml
Browse files Browse the repository at this point in the history
Passed the secret wrong.
  • Loading branch information
dead-claudia committed Sep 22, 2024
1 parent 36eedb7 commit 1e05bd3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/_post-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 1e05bd3

Please sign in to comment.