Skip to content

Commit

Permalink
fix qodana CI job condition
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Boldyrev <[email protected]>
  • Loading branch information
bpg committed Jul 5, 2024
1 parent 824333b commit eaa3c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
qodana:
runs-on: ubuntu-latest
if: github.repository_owner == 'bpg'
if: github.event.pull_request.head.repo.owner.login == 'bpg' || github.event.ref == 'refs/heads/main
permissions:
contents: write
pull-requests: write
Expand Down

0 comments on commit eaa3c6c

Please sign in to comment.