Skip to content

Commit 3b40d1c

Browse files
committed
Revert Dependabot auto-merge
Too risky: it makes the repo more vulnerable to attack from forks
1 parent e41cfbb commit 3b40d1c

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

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

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

128
jobs:
139
build-and-test:
1410
name: Build and test
1511
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-
if: ${{ github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' }}
21-
uses: markwhitaker/shared-workflows/.github/workflows/dependabot-auto-merge-minor-patch.yml@main
22-
secrets: inherit
23-
with:
24-
pr-number: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)