diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index 1cb9205..b3efdeb 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -20,6 +20,9 @@ permissions: read-all jobs: analysis: name: Scorecard analysis + # Default off — enable by setting repo variable SCORECARD_ENABLED=true + # (same opt-in pattern as SIGNING_ENABLED). + if: vars.SCORECARD_ENABLED == 'true' runs-on: ubuntu-latest permissions: # Needed to upload the results to code-scanning dashboard.