diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 238eb9d..edb8c4c 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -75,7 +75,11 @@ jobs: merge: runs-on: ubuntu-latest needs: [test] - if: github.actor == 'dependabot[bot]' || github.actor == 'pre-commit-ci[bot]' # Detect that the PR author is dependabot or pre-commit-ci + # Only run if the PR author is Dependabot or pre-commit-ci + if: > + github.actor == 'dependabot[bot]' || + github.actor == 'pre-commit-ci[bot]' + steps: - uses: actions/checkout@v4 - name: Enable auto-merge for Dependabot PRs