From 2cba861c13d89e0c1ed4be33af94d7367ca603a6 Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Sat, 13 Apr 2024 08:26:15 -0700 Subject: [PATCH] dependabot-automerge.yml: add `GH_TOKEN` GitHub Actions sets `GITHUB_TOKEN` but `gh` needs `GH_TOKEN` --- .github/workflows/dependabot-automerge.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml index f9775c4a92..8f76a07550 100644 --- a/.github/workflows/dependabot-automerge.yml +++ b/.github/workflows/dependabot-automerge.yml @@ -10,6 +10,7 @@ jobs: if: ${{ github.actor == 'dependabot[bot]' }} env: PR_URL: ${{github.event.pull_request.html_url}} + GH_TOKEN: ${{ github.token }} steps: #- name: approve # run: gh pr review --approve "$PR_URL"