Skip to content

Commit 122def8

Browse files
committed
ci: Allow major upgrades to github-actions
1 parent eb08505 commit 122def8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/automerge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
uses: dependabot/fetch-metadata@v1
1616
with:
1717
github-token: ${{ secrets.GITHUB_TOKEN }}
18-
- if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
18+
- if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' || steps.dependabot-metadata.outputs.package-ecosystem == 'github-actions' }}
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2121
run: gh pr review --approve ${{ github.event.pull_request.html_url }}
22-
- if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
22+
- if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' || steps.dependabot-metadata.outputs.package-ecosystem == 'github-actions' }}
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525
run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }}

0 commit comments

Comments
 (0)