File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 - cron : " 34 3 * * 3"
1414 push :
1515 branches : ["main"]
16+ pull_request :
17+ workflow_dispatch :
1618
1719permissions : {}
1820
1921jobs :
2022 analysis :
2123 name : Scorecard analysis
2224 runs-on : ubuntu-24.04
23- # `publish_results: true` only works when run from the default branch. conditional can be removed if disabled.
24- if : github.event.repository.default_branch == github.ref_name
2525 permissions :
2626 # Needed by actions/checkout and Scorecard to read the repository contents.
2727 contents : read
5656 # For private repositories:
5757 # - `publish_results` will always be set to `false`, regardless
5858 # of the value entered here.
59- publish_results : true
59+ #
60+ # publish_results: true` only works when run from the default branch. conditional can be removed if disabled.
61+ publish_results : ${{ github.event.repository.default_branch == github.ref_name }}
6062
6163 # (Optional) Uncomment file_mode if you have a .gitattributes with files marked export-ignore
6264 # file_mode: git
You can’t perform that action at this time.
0 commit comments