File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 99 - main
1010
1111permissions :
12- actions : read
13- checks : write
1412 contents : read
15- security-events : write
1613
1714concurrency :
1815 group : ${{ github.workflow }}-${{ github.ref }}
2219 analyze :
2320 name : Analyze
2421 runs-on : ubuntu-latest
22+ permissions :
23+ actions : read
24+ checks : write
25+ contents : read
26+ security-events : write
2527
2628 steps :
2729 - name : Harden the runner (Audit all outbound calls)
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ concurrency:
1313 group : ${{ github.workflow }}-${{ github.ref }}
1414 cancel-in-progress : true
1515
16+ permissions :
17+ contents : read
18+
1619jobs :
1720 linter :
1821 name : Lint Markdown Files
Original file line number Diff line number Diff line change 55 - ' .github/workflows/mkdocs.yml'
66 - ' docs/**/*'
77 push :
8- branches :
9- main
8+ branches : [ main ]
109 paths :
1110 - ' .github/workflows/mkdocs.yml'
1211 - ' docs/**/*'
Original file line number Diff line number Diff line change 1111 push :
1212 branches : [ "main" ]
1313
14- # Declare default permissions as read-only.
15- permissions : read-all
14+ permissions :
15+ contents : read
1616
1717jobs :
1818 analysis :
You can’t perform that action at this time.
0 commit comments