Skip to content

Commit

Permalink
fix: skips sonar scans for dependabot updates (#1656)
Browse files Browse the repository at this point in the history
* fix: skips sonar scans for dependabot updates

Dependabot updates only include third party dependency updates

Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>

* fix: updates workflow if statement formatting

Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>

---------

Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
  • Loading branch information
jpower432 authored Aug 9, 2024
1 parent e27f0cd commit 050c425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
path: coverage.xml

sonar:
if: ${{ github.event.pull_request.base.repo.url == github.event.pull_request.head.repo.url }}
if: ${{ (github.event.pull_request.base.repo.url == github.event.pull_request.head.repo.url && github.triggering_actor != 'dependabot[bot]' ) }}
runs-on: ubuntu-latest
needs: [ test, set-versions]
steps:
Expand Down

0 comments on commit 050c425

Please sign in to comment.