There was an error while loading. Please reload this page.
1 parent e2cee8b commit 3aa617bCopy full SHA for 3aa617b
1 file changed
.github/workflows/dependabot-auto-merge.yaml
@@ -11,10 +11,7 @@ name: Auto Merge Dependabot
11
on:
12
pull_request:
13
14
-permissions:
15
- contents: write
16
- pull-requests: write
17
- workflows: write
+permissions: {}
18
19
jobs:
20
auto-merge:
@@ -23,6 +20,11 @@ jobs:
23
24
21
timeout-minutes: 5
25
22
+ permissions:
+ contents: write # Required to squash/merge/rebase the dependabot PR
+ pull-requests: write # Required to approve and merge the pull request
26
+ workflows: write # Required when the dependabot PR itself modifies workflow files
27
+
28
# Only run for Dependabot PRs - security: prevent running on PRs from forks or other actors
29
if: github.actor == 'dependabot[bot]'
30
0 commit comments