Skip to content

Commit cf00ebb

Browse files
authored
Merge pull request #57 from TSRBerry/main
Add dependabot auto-merge workflow & Fix dependabot.yml
2 parents 9a321d0 + b7edce5 commit cf00ebb

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
version: 2
22
updates:
3-
- directory: "/M1"
3+
- directory: "/Farmtronics"
44
open-pull-requests-limit: 5
55
package-ecosystem: "nuget"
66
commit-message:
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Merge Dependabot PRs
2+
on:
3+
pull_request:
4+
paths-ignore:
5+
- ".github/workflows/**"
6+
7+
permissions:
8+
pull-requests: write
9+
contents: write
10+
checks: read
11+
12+
jobs:
13+
auto_merge:
14+
runs-on: ubuntu-latest
15+
if: ${{ github.actor == 'dependabot[bot]' }}
16+
steps:
17+
- run: gh pr merge -s "$PR_URL"
18+
env:
19+
PR_URL: ${{ github.event.pull_request.html_url }}
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)