diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 270f58f777ce84..3344ab19462acc 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -22,6 +22,7 @@ jobs: analysis: name: Scorecard analysis runs-on: ubuntu-latest + if: github.repository = 'llvm/llvm-project' permissions: # Needed to upload the results to code-scanning dashboard. security-events: write