From b615937de03c733593dbf7bd2896834406d67bd1 Mon Sep 17 00:00:00 2001 From: GitHub Copilot Date: Sat, 6 Jun 2026 21:26:44 +0200 Subject: [PATCH] chore: sync dependabot-auto-approve with github-actions-help reference Revert Re-approve step condition back to `steps.metadata.outcome == 'failure'` to match the reference workflow in maansaake/github-actions-help. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/dependabot-auto-approve.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/dependabot-auto-approve.yaml b/.github/workflows/dependabot-auto-approve.yaml index bec94f0..62d8ec2 100644 --- a/.github/workflows/dependabot-auto-approve.yaml +++ b/.github/workflows/dependabot-auto-approve.yaml @@ -43,13 +43,7 @@ jobs: fi - name: Re-approve after branch update if auto-merge was already configured - # Runs on synchronize events where step 4 would be skipped — i.e. when fetch-metadata - # either failed (outcome=failure) or returned an empty/unexpected update-type. - # The auto-merge check inside the script guards against re-approving major updates. - if: >- - github.event.action == 'synchronize' && - steps.metadata.outputs.update-type != 'version-update:semver-patch' && - steps.metadata.outputs.update-type != 'version-update:semver-minor' + if: github.event.action == 'synchronize' && steps.metadata.outcome == 'failure' env: PR_URL: ${{ github.event.pull_request.html_url }} GH_TOKEN: ${{ steps.app-token.outputs.token }}