From 76d91708e327616a81cd521570ed15a059b43694 Mon Sep 17 00:00:00 2001 From: Joe Bell <7349341+joe-bell@users.noreply.github.com> Date: Tue, 16 Jan 2024 10:33:13 +0200 Subject: [PATCH] Set `GITHUB_TOKEN` for Sticky Comment (#257) * chore: switch to pull_request_target * try with pat again --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 87f74dc..aea509c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,8 @@ jobs: - run: pnpm check examples: runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ github.token }} permissions: pull-requests: write if: github.event_name == 'pull_request' @@ -63,7 +65,6 @@ jobs: header: "Examples" recreate: true path: TMP_EXAMPLES.md - GITHUB_TOKEN: ${{ secrets.STICKY_COMMENT_TOKEN }} lint: runs-on: ubuntu-latest steps: