Skip to content

Commit 8a13275

Browse files
authored
Merge pull request #35 from praw-dev/allow-major-action-bumps
Auto-merge major GitHub Actions bumps
2 parents 7b82564 + 5433b4c commit 8a13275

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/dependabot_automerge.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ jobs:
2323
id: metadata
2424
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
2525
- name: Enable auto-merge
26-
if: steps.metadata.outputs.update-type != 'version-update:semver-major'
26+
# Major bumps are held for manual review, except for GitHub Actions, whose
27+
# majors are routine pin moves that the workflow linters and CI already gate.
28+
if: >-
29+
steps.metadata.outputs.update-type != 'version-update:semver-major'
30+
|| steps.metadata.outputs.package-ecosystem == 'github_actions'
2731
env:
2832
GH_TOKEN: ${{ steps.app-token.outputs.token }}
2933
PR_URL: ${{ github.event.pull_request.html_url }}

0 commit comments

Comments
 (0)