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 }}