summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-08-03 14:21:48 +0200
committerGitHub <noreply@github.com>2022-08-03 14:21:48 +0200
commitdbd47e99789969852501496c7c1f9c8cdb27fdcf (patch)
tree3d61a61f5a611ac305281d7a7c662deba9ccc7e8 /.github
parentae882dff668f0dcb1198664ecbd7e5271a45935f (diff)
Update dependabot-approve-merge.yml
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/dependabot-approve-merge.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/dependabot-approve-merge.yml b/.github/workflows/dependabot-approve-merge.yml
index 19a1311b..0d6e3434 100644
--- a/.github/workflows/dependabot-approve-merge.yml
+++ b/.github/workflows/dependabot-approve-merge.yml
@@ -8,13 +8,20 @@ name: Dependabot
on:
pull_request_target:
branches:
+ - main
- master
- stable*
+permissions:
+ contents: read
+
jobs:
auto-approve-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
+ permissions:
+ # for hmarr/auto-approve-action to approve PRs
+ pull-requests: write
steps:
# Github actions bot approve