Skip to content

Commit f513c4d

Browse files
committed
Limit scorecard to default branch
Signed-off-by: Josh Soref <[email protected]>
1 parent 55eb185 commit f513c4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

code-scanning/scorecard.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
analysis:
2222
name: Scorecard analysis
2323
runs-on: ubuntu-latest
24+
if: github.repository.default_branch == github.ref_name
2425
permissions:
2526
# Needed to upload the results to code-scanning dashboard.
2627
security-events: write

0 commit comments

Comments
 (0)