Skip to content

Commit a5a75c5

Browse files
committed
ci: also auto-merge major github-actions bumps (safe, no code changes)
1 parent 335c4df commit a5a75c5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,9 @@ jobs:
2424
run: gh pr merge --auto --squash "${{ github.event.pull_request.html_url }}"
2525
env:
2626
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
28+
- name: Enable auto-merge for major github-actions updates
29+
if: steps.metadata.outputs.update-type == 'version-update:semver-major' && steps.metadata.outputs.package-ecosystem == 'github-actions'
30+
run: gh pr merge --auto --squash "${{ github.event.pull_request.html_url }}"
31+
env:
32+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)