File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change
1
+ # We auto-merge all dependabot updates as soon as the CI are met.
2
+ #
3
+ # More info: https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions
4
+
5
+ name : Dependabot PR auto-merge
6
+ on : pull_request
7
+
8
+ permissions :
9
+ contents : write
10
+ pull-requests : write
11
+
12
+ jobs :
13
+ dependabot :
14
+ runs-on : ubuntu-latest
15
+ if : github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'rust-osdev/multiboot2'
16
+ steps :
17
+ - name : Approve
18
+ run : gh pr review --approve "$PR_URL"
19
+ env :
20
+ PR_URL : ${{github.event.pull_request.html_url}}
21
+ GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
22
+ - name : Enable auto-merge
23
+ run : gh pr merge --auto --merge "$PR_URL"
24
+ env :
25
+ PR_URL : ${{github.event.pull_request.html_url}}
26
+ GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1
- # Rusty Wrappers for Multiboot2
1
+ # Rusty Wrappers for Multiboot 2
2
2
3
3
## Repository Overview
4
4
You can’t perform that action at this time.
0 commit comments