From cb91b96b850a8e1cf1aa2125435170aede26a0e5 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Thu, 26 Sep 2024 09:34:51 -0700 Subject: [PATCH] Add token --- .github/workflows/pr-checklist.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-checklist.yml b/.github/workflows/pr-checklist.yml index c48fc47755..a2b858042d 100644 --- a/.github/workflows/pr-checklist.yml +++ b/.github/workflows/pr-checklist.yml @@ -59,6 +59,8 @@ jobs: - name: Move PR to draft if not all checkboxes are checked if: steps.checkboxes.outputs.unchecked != '0' uses: actions/github-script@v7 + env: + GITHUB_TOKEN: ${{ github.token }} with: script: | await github.rest.pulls.update({