Skip to content

Commit

Permalink
Update the if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ilnarkhasanov committed Mar 29, 2024
1 parent 2bf10d0 commit 0d9f247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Expand Up @@ -29,7 +29,7 @@ name: sonarcloud
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
if: github.repository == 'yegor256/cam'
if: github.repository == 'yegor256/cam' && github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 0d9f247

Please sign in to comment.