Skip to content

Commit 731681d

Browse files
committed
fix dependabot.yml
1 parent 08fcc4b commit 731681d

File tree

2 files changed

+21
-25
lines changed

2 files changed

+21
-25
lines changed

.github/workflows/approve_dependabotifications.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Handle Dependabot PRs
2+
3+
on:
4+
pull_request:
5+
types: [ opened, reopened, synchronize ]
6+
7+
jobs:
8+
ApproveAndMerge:
9+
name: Auto approve Dependabot PRs
10+
runs-on: ubuntu-latest
11+
# Only run for PRs created by Dependabot - extended verification is done in the reusable workflow
12+
if: github.actor == 'dependabot[bot]'
13+
# These permissions are needed to approve pull requests
14+
permissions:
15+
contents: read
16+
pull-requests: write
17+
steps:
18+
- name: Auto approve Dependabot PR
19+
uses: secure-software-engineering/actions/dependabot@develop
20+
with:
21+
token: ${{ secrets.AUTO_MERGE_PAT }}

0 commit comments

Comments
 (0)