Skip to content

Commit a850e68

Browse files
OgeonX-AiAitomates
andauthored
ci: pin third-party actions to commit SHAs (REQ-1.4.10) (#12)
- Pin all uses: refs across codeql.yml and pages.yml to immutable commit SHAs with trailing # vX.Y.Z comments - ci.yml confirmed already fully SHA-pinned (2026-07-06 audit) - left untouched - Permissions and timeout-minutes already present on all jobs; no changes needed Co-authored-by: Kim Harjamäki <kim.harjamaki@prosimo.fi>
1 parent 2fff1e7 commit a850e68

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
language: [ 'python' ]
2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v7
22+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2323
- name: Initialize CodeQL
24-
uses: github/codeql-action/init@v4
24+
uses: github/codeql-action/init@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
2525
with:
2626
languages: ${{ matrix.language }}
2727
- name: Autobuild
28-
uses: github/codeql-action/autobuild@v4
28+
uses: github/codeql-action/autobuild@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
2929
- name: Perform CodeQL Analysis
30-
uses: github/codeql-action/analyze@v4
30+
uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3

.github/workflows/pages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414
runs-on: ubuntu-latest
1515
timeout-minutes: 15
1616
steps:
17-
- uses: actions/checkout@v7
18-
- uses: actions/setup-python@v6
17+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
18+
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
1919
with:
2020
python-version: 3.x
2121
- run: pip install mkdocs-material
2222
- run: mkdocs build
23-
- uses: actions/upload-pages-artifact@v5
23+
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
2424
with:
2525
path: ./site
2626
deploy:
@@ -36,4 +36,4 @@ jobs:
3636
steps:
3737
- name: Deploy to GitHub Pages
3838
id: deployment
39-
uses: actions/deploy-pages@v5
39+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0

0 commit comments

Comments
 (0)