File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131
3232 steps :
3333 - name : ' Harden Runner'
34- uses : ' step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 ' # v2.16.0
34+ uses : ' step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d ' # v2.16.1
3535 with :
3636 egress-policy : ' audit'
3737
Original file line number Diff line number Diff line change 1111 runs-on : ' ubuntu-latest'
1212 steps :
1313 - name : ' Harden Runner'
14- uses : ' step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 ' # v2.16.0
14+ uses : ' step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d ' # v2.16.1
1515 with :
1616 egress-policy : ' audit'
1717
Original file line number Diff line number Diff line change 3232 python-version : ' 3.12'
3333
3434 - name : ' Install dependencies'
35- run : ' pip install mkdocs mkdocs-material'
35+ run : |
36+ pip install --require-hashes --requirement /dev/stdin <<< "mkdocs==1.6.1 --hash=sha256:db91759624d1647f3f34aa0c3f327dd2601beae39a366d6e064c03468d35c20e"
37+ pip install --require-hashes --requirement /dev/stdin <<< "mkdocs-material==9.7.6 --hash=sha256:71b84353921b8ea1ba84fe11c50912cc512da8fe0881038fcc9a0761c0e635ba"
3638
3739 - name : ' Generate docs structure'
3840 run : ' python3 tools/build-docs'
Original file line number Diff line number Diff line change 1515 - ' v*'
1616
1717# modify the default permissions granted to the GITHUB_TOKEN
18- permissions :
19- contents : ' read' # to checkout the code
20- packages : ' write' # to push to GitHub Container Registry
18+ permissions : ' read-all'
2119
2220jobs :
2321
2422 build :
2523 runs-on : ' ubuntu-latest'
24+ permissions :
25+ contents : ' read' # to checkout the code
26+ packages : ' write' # to push to GitHub Container Registry
2627
2728 steps :
2829
7071 - name : ' Install Ansible Builder'
7172 run : |
7273 python3 -m pip install --upgrade pip
73- pip install ansible-builder
74+ pip install --require-hashes --requirement /dev/stdin <<< " ansible-builder==3.1.1 --hash=sha256:a8246022edb92ca27ea95e87c7af30bcb2752f108dcc75fbf96e77196dff1072"
7475
7576 - name : ' Strip badges from README.md (not rendered correctly on Galaxy)'
7677 run : |
Original file line number Diff line number Diff line change 66 - ' v*'
77
88# modify the default permissions granted to the GITHUB_TOKEN
9- permissions :
10- contents : ' write' # to push to the repo and create the release
9+ permissions : ' read-all'
1110
1211jobs :
1312 release :
1413 runs-on : ' ubuntu-latest'
14+ permissions :
15+ contents : ' write' # to push to the repo and create the release
1516
1617 steps :
1718
Original file line number Diff line number Diff line change 55 - cron : ' 0 8 * * 1'
66 workflow_dispatch : {}
77
8- permissions :
9- contents : ' write'
10- pull-requests : ' write'
8+ permissions : ' read-all'
119
1210jobs :
1311 update :
1412 runs-on : ' ubuntu-latest'
13+ permissions :
14+ contents : ' write'
15+ pull-requests : ' write'
1516 steps :
1617 - name : Harden the runner (Audit all outbound calls)
1718 uses : step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
2728 python-version : ' 3.12'
2829
2930 - name : ' Install pre-commit'
30- run : ' pip install pre-commit'
31+ run : ' pip install --require-hashes --requirement /dev/stdin <<< " pre-commit==4.5.1 --hash=sha256:3b3afd891e97337708c1674210f8eba659b52a38ea5f822ff142d10786221f77" '
3132
3233 - name : ' Run pre-commit autoupdate'
3334 run : ' pre-commit autoupdate'
Original file line number Diff line number Diff line change 1717
1818 steps :
1919 - name : ' Harden Runner'
20- uses : ' step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 ' # v2.16.0
20+ uses : ' step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d ' # v2.16.1
2121 with :
2222 egress-policy : ' audit'
2323
You can’t perform that action at this time.
0 commit comments