From 2be80fe83fce72287c27367b5555adcf62c219f2 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Thu, 21 Mar 2024 18:19:10 -0400 Subject: [PATCH] ci: Allow major upgrades to github-actions --- .github/workflows/automerge.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index b3e3bc4..db8f980 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -15,11 +15,11 @@ jobs: uses: dependabot/fetch-metadata@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} - - if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }} + - if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' || steps.dependabot-metadata.outputs.package-ecosystem == 'github-actions' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh pr review --approve ${{ github.event.pull_request.html_url }} - - if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }} + - if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' || steps.dependabot-metadata.outputs.package-ecosystem == 'github-actions' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }}