diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index 700896e..b54b450 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -140,7 +140,7 @@ jobs: path: coverage.xml sonar: - if: github.repository == 'oscal-compass/compliance-trestle-fedramp' + 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 steps: