Skip to content

Commit 4881002

Browse files
committed
ci: added dependabot-automerge workflow
1 parent 350c8d0 commit 4881002

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ updates:
55
- package-ecosystem: "github-actions"
66
directory: "/"
77
schedule:
8-
interval: "weekly"
8+
interval: "monthly"
99

1010
# Maintain dependencies for pip/poetry
1111
- package-ecosystem: "pip"
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Dependabot Auto-merge
2+
3+
# NOTE: This workflow relies on a Personal Access Token from the @ActivityWatchBot user
4+
# See this issue for details: https://github.com/ridedott/merge-me-action/issues/1581
5+
6+
on:
7+
workflow_run:
8+
types:
9+
- completed
10+
workflows:
11+
# List all required workflow names here.
12+
- Build
13+
14+
permissions:
15+
contents: write
16+
pull-requests: read
17+
18+
jobs:
19+
auto_merge:
20+
name: Auto-merge
21+
runs-on: ubuntu-latest
22+
if: github.event.workflow_run.conclusion == 'success' && github.actor == 'dependabot[bot]'
23+
24+
steps:
25+
- uses: ridedott/merge-me-action@v2
26+
with:
27+
GITHUB_TOKEN: ${{ secrets.AWBOT_GH_TOKEN }}

0 commit comments

Comments
 (0)