Skip to content

Commit bca3e1c

Browse files
committed
Add Dependabot auto-merge to build-and-test workflow
1 parent 55e9eae commit bca3e1c

2 files changed

Lines changed: 13 additions & 15 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,21 @@ on:
33
push:
44
branches: [main]
55
pull_request:
6-
types: [opened, reopened, synchronize]
6+
types: [opened, reopened, synchronize, ready_for_review]
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
711

812
jobs:
913
build-and-test:
1014
name: Build and test
1115
uses: markwhitaker/shared-workflows/.github/workflows/dotnet-build-and-test.yml@main
16+
17+
dependabot-auto-merge:
18+
name: Auto-merge Dependabot PR (minor & patch)
19+
needs: build-and-test
20+
uses: markwhitaker/shared-workflows/.github/workflows/dependabot-auto-merge-minor-patch.yml@main
21+
secrets: inherit
22+
with:
23+
pr-number: ${{ github.event.pull_request.number }}

.github/workflows/dependabot-auto-merge.yml

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

0 commit comments

Comments
 (0)