From 01af1992af7bee7705849c1ac6e844adce5ec583 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 9 Feb 2024 01:14:45 -0500 Subject: actions: use scoped github.token --- .github/workflows/autobot.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.github/workflows/autobot.yaml') diff --git a/.github/workflows/autobot.yaml b/.github/workflows/autobot.yaml index fa33623..7715185 100644 --- a/.github/workflows/autobot.yaml +++ b/.github/workflows/autobot.yaml @@ -4,6 +4,7 @@ on: pull_request jobs: automerge: + name: Check and auto-merge runs-on: ubuntu-latest permissions: @@ -21,5 +22,5 @@ jobs: if: steps.metadata.outputs.update-type == 'version-update:semver-patch' run: gh pr merge --auto --rebase "$PR" env: + GH_TOKEN: ${{ github.token }} PR: ${{ github.event.pull_request.html_url }} - GITHUB_TOKEN: ${{ github.token }} -- cgit v1.2.3