From 9a20a2534e081cbaf68e8b26fb19200ad3b794e7 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Fri, 8 Dec 2023 21:57:27 +0000 Subject: [PATCH] CI: reinstate bot reactions --- .github/workflows/comment-bot.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/comment-bot.yml b/.github/workflows/comment-bot.yml index 6d491db..a19ef5b 100644 --- a/.github/workflows/comment-bot.yml +++ b/.github/workflows/comment-bot.yml @@ -31,6 +31,7 @@ jobs: post({ owner: context.repo.owner, repo: context.repo.repo, comment_id: context.payload.comment.id, content: "eyes"}) + github-token: ${{ secrets.GH_TOKEN || github.token }} - name: Tag Commit run: | git clone https://${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} repo @@ -39,7 +40,7 @@ jobs: rm -rf repo env: BODY: ${{ github.event.comment.body }} - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN || github.token }} - name: React Success uses: actions/github-script@v7 with: @@ -50,3 +51,4 @@ jobs: post({ owner: context.repo.owner, repo: context.repo.repo, comment_id: context.payload.comment.id, content: "rocket"}) + github-token: ${{ secrets.GH_TOKEN || github.token }}