File tree Expand file tree Collapse file tree 4 files changed +9
-11
lines changed Expand file tree Collapse file tree 4 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 2323 - ' !**.rst'
2424 - ' !**/ci.yml'
2525 - ' !**/docs.yml'
26+ - ' !**/scorecard.yml'
2627 - ' !**.properties'
2728 - ' !docs/**'
2829 # Run analysis on PRs only if the branch name indicates that the purpose of
Original file line number Diff line number Diff line change 1313 - ' !**.rst'
1414 - ' !**/analysis.yml'
1515 - ' !**/docs.yml'
16+ - ' !**/scorecard.yml'
1617 - ' !**.properties'
1718 - ' !docs/**'
1819 pull_request :
Original file line number Diff line number Diff line change 1111 paths-ignore :
1212 - ' **/ci.yml'
1313 - ' **/analysis.yml'
14+ - ' **/scorecard.yml'
1415 - ' **.properties'
1516 - ' src/**.cpp'
1617 - ' **.cmake'
2021 paths-ignore :
2122 - ' **/ci.yml'
2223 - ' **/analysis.yml'
24+ - ' **/scorecard.yml'
2325 - ' **.properties'
2426 - ' src/**.cpp'
2527 - ' **.cmake'
Original file line number Diff line number Diff line change 88 # Only the default branch is supported.
99 branch_protection_rule :
1010 push :
11- # Run on pushes to main, but only the main repo, not forks
11+ # Run on pushes to main, but only the official repo, not forks
1212 branches : [ "main" ]
1313 if : github.event.pull_request.head.repo.full_name == github.repository
14- paths-ignore :
15- - ' **.md'
16- - ' **.rst'
17- - ' docs/**'
1814 pull_request :
19- # Only run on individual PRs if the workflow file itself is changed.
20- paths-ignore :
21- - ' **.md'
22- - ' **.rst'
23- - ' docs/**'
15+ # Only run on individual PRs if the workflows changed
16+ paths :
17+ - ' .github/workflows/**'
2418
2519# Declare default permissions as read only.
2620permissions : read-all
4741
4842 steps :
4943 - name : " Checkout code"
50- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
44+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5145 with :
5246 persist-credentials : false
5347 fetch-depth : ' 0'
You can’t perform that action at this time.
0 commit comments