Skip to content

Commit 98c1cb3

Browse files
committed
Update Github Actions with Dependabot
1 parent 6fcdce4 commit 98c1cb3

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Set update schedule for GitHub Actions
2+
3+
version: 2
4+
updates:
5+
- package-ecosystem: github-actions
6+
directory: /
7+
schedule:
8+
interval: daily
9+
labels:
10+
- github-actions

.github/workflows/automerge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
automerge:
88
name: Enable pull request automerge
99
runs-on: ubuntu-latest
10-
if: github.event.pull_request.user.login == 'pre-commit-ci[bot]'
10+
if: github.event.pull_request.user.login == 'pre-commit-ci[bot]' || github.event.pull_request.user.login == 'dependabot[bot]'
1111

1212
steps:
1313
- uses: alexwilson/[email protected]
@@ -19,7 +19,7 @@ jobs:
1919
name: Automatically approve pull request
2020
needs: [automerge]
2121
runs-on: ubuntu-latest
22-
if: github.event.pull_request.user.login == 'pre-commit-ci[bot]'
22+
if: github.event.pull_request.user.login == 'pre-commit-ci[bot]' || github.event.pull_request.user.login == 'dependabot[bot]'
2323

2424
steps:
2525
- uses: hmarr/auto-approve-action@v2

0 commit comments

Comments
 (0)