diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 85579a05d..60e30fe2d 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -9,7 +9,7 @@ jobs: auto-approve: name: Auto-approve Konflux updates for default branch runs-on: ubuntu-latest - if: github.actor == 'red-hat-konflux[bot]' && github.event.label.name == 'auto-approve' && github.event.pull_request.base.ref == github.event.pull_request.base.repo.default_branch + if: github.actor == 'red-hat-konflux[bot]' && github.event.label.name == 'auto-approve' steps: - env: GH_TOKEN: ${{ secrets.RHACS_BOT_GITHUB_TOKEN }}