Skip to content

Commit 026a2a9

Browse files
authored
Update dependabot-approve-and-automerge.yml (dotnet#31736)
1 parent d574316 commit 026a2a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/dependabot-approve-and-automerge.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ jobs:
2121
PR_URL: ${{github.event.pull_request.html_url}}
2222
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2323
- name: Enable auto-merge for Dependabot PRs
24-
if: ${{contains(steps.metadata.outputs.dependency-names, 'my-dependency') && steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
2524
run: gh pr merge --auto --merge "$PR_URL"
2625
env:
2726
PR_URL: ${{github.event.pull_request.html_url}}
28-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
27+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)