Skip to content

Commit

Permalink
Switch to github.event.pull_request.user.login
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed Jan 13, 2025
1 parent c099a57 commit d539875
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ 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: Enforce PR title format
Expand Down

0 comments on commit d539875

Please sign in to comment.