X Tutup
Skip to content

Commit 87c9a4a

Browse files
committed
Auto-merge all Dependabot PRs regardless of semver update type
Remove the patch/minor restriction and the now-unused fetch-metadata step so all Dependabot PRs are auto-merged (major included). https://claude.ai/code/session_012ieS3tLTHwwnh9aftVAPVY
1 parent 28bdadf commit 87c9a4a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
if: github.event.pull_request.user.id == 49699333
1212
steps:
13-
- name: Fetch Dependabot metadata
14-
id: metadata
15-
uses: dependabot/fetch-metadata@v2
16-
with:
17-
github-token: "${{ secrets.GITHUB_TOKEN }}"
1813
- name: Enable auto-merge for Dependabot PRs
19-
if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
2014
run: gh pr merge --auto --squash "$PR_URL"
2115
env:
2216
PR_URL: ${{ github.event.pull_request.html_url }}

0 commit comments

Comments
 (0)
X Tutup