From b8f5a100221e0fcd71eae1236e2b5f0cfb3edcb8 Mon Sep 17 00:00:00 2001 From: Claudia Meadows Date: Sun, 22 Sep 2024 13:15:14 -0700 Subject: [PATCH] Update _post-comment.yml Passed the secret wrong. --- .github/workflows/_post-comment.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_post-comment.yml b/.github/workflows/_post-comment.yml index 82b4054a..103dd569 100644 --- a/.github/workflows/_post-comment.yml +++ b/.github/workflows/_post-comment.yml @@ -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 }}