Update _post-comment.yml
Passed the secret wrong.
This commit is contained in:
parent
700b9f85a1
commit
b8f5a10022
1 changed files with 4 additions and 2 deletions
6
.github/workflows/_post-comment.yml
vendored
6
.github/workflows/_post-comment.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue