diff --git a/.github/workflows/approve-merge-build-push.yml b/.github/workflows/approve-merge-build-push.yml index dddf079..ae73895 100644 --- a/.github/workflows/approve-merge-build-push.yml +++ b/.github/workflows/approve-merge-build-push.yml @@ -29,8 +29,8 @@ jobs: GITHUB_TOKEN: ${{ github.token }} - name: Auto-merge docker PRs - if: ${{ steps.dependabot.outputs.package-ecosystem == 'docker' && - steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major'}} + if: ${{ steps.metadata.outputs.package-ecosystem == 'docker' && + steps.metadata.outputs.update-type != 'version-update:semver-major'}} run: | gh pr merge --auto --squash "$PR_URL" env: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 40a3651..1bc49e7 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -16,6 +16,7 @@ jobs: github-token: "${{ github.token }}" - name: Approve a PR + if: ${{ steps.metadata.outputs.package-ecosystem != 'docker' }} run: gh pr review --approve "$PR_URL" env: PR_URL: ${{ github.event.pull_request.html_url }}