diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index fefd79f8..92af57fb 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -12,11 +12,12 @@ on: jobs: check-pr-title: - if: - github.actor != 'pre-commit-ci[bot]' && github.actor != 'dependabot[bot]' + if: >- + github.event.pull_request.user.login != 'pre-commit-ci[bot]' && + github.event.pull_request.user.login != 'dependabot[bot]' runs-on: ubuntu-latest steps: - - name: Enfore PR title format + - name: Enforce PR title format uses: thehanimo/pr-title-checker@v1.4.3 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}