We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55eb185 commit 5b069e0Copy full SHA for 5b069e0
code-scanning/scorecard.yml
@@ -21,6 +21,8 @@ jobs:
21
analysis:
22
name: Scorecard analysis
23
runs-on: ubuntu-latest
24
+ # This action only works when run from the default branch
25
+ if: github.event.repository.default_branch == github.ref_name
26
permissions:
27
# Needed to upload the results to code-scanning dashboard.
28
security-events: write
0 commit comments