summaryrefslogtreecommitdiff
path: root/.github/workflows/autobot.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2024-02-09 01:14:45 -0500
committerseth <[email protected]>2024-02-09 01:17:16 -0500
commit01af1992af7bee7705849c1ac6e844adce5ec583 (patch)
tree2963acc9812737d37ed6f8514f241b9c3e240f9f /.github/workflows/autobot.yaml
parentc4b388a6094bfb2eeede168193824b750322fbc1 (diff)
actions: use scoped github.token
Diffstat (limited to '.github/workflows/autobot.yaml')
-rw-r--r--.github/workflows/autobot.yaml3
1 files changed, 2 insertions, 1 deletions
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 }}