Skip to content

Commit 1e05bd3

Browse files
authored
Update _post-comment.yml
Passed the secret wrong.
1 parent 36eedb7 commit 1e05bd3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/_post-comment.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ jobs:
1414
notify:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- run: gh issue comment "$ISSUE_URL" --body "$MESSAGE"
17+
- run: |
18+
export GITHUB_TOKEN="$GH_TOKEN_SECRET"
19+
gh issue comment "$ISSUE_URL" --body "$MESSAGE"
1820
env:
1921
ISSUE_URL: ${{ inputs.url }}
2022
MESSAGE: ${{ inputs.message }}
21-
GITHUB_TOKEN: ${{ github.token }}
23+
GH_TOKEN_SECRET: ${{ github.token }}

0 commit comments

Comments
 (0)