Skip to content

Commit 7736e5a

Browse files
Review SCM files and security updates (#4)
Security improvements: - Pin all GitHub Actions to SHA commits instead of mutable version tags - This prevents supply chain attacks via compromised action tags Actions updated: - actions/checkout -> @11bd71901bbe5b1630ceea73d27597364c9af683 (v4.2.2) - github/codeql-action/* -> @4f3212b61783c3c68e8309a0f18a699764811cda (v3.27.1) - ossf/scorecard-action -> @62b2cac7ed8198b15735ed49ab1e5cf35480ba46 (v2.4.0) - trufflesecurity/trufflehog -> @63e6dcaa4f6b7bbdd96ce0db5b7fbc8c839e7746 (v3.82.8) - editorconfig-checker -> @35f3c0fca2f5ee3e31fbcd40a5bbc58eb80db28d (v2.0.0) - actions/cache -> @6849a6489940f00c2f30c0fb92c6274307ccb58a (v4.1.2) - actions/configure-pages -> @983d7736d9b0ae728b81ab479565c72886d7745b (v5.0.0) - actions/jekyll-build-pages -> @44a6e6beabd48582f863aeeb6cb2151cc1716f3b (v1.0.13) - actions/upload-pages-artifact -> @56afc609e74202658d3ffba0e8f6dda462b719fa (v3.0.1) - actions/deploy-pages -> @d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e (v4.0.5) Also added: - flake.nix: Nix fallback per RSR policy (Guix primary, Nix fallback) - ROADMAP.md: Updated project roadmap with phases and priorities - STATE.scm: Updated project state tracking Co-authored-by: Claude <noreply@anthropic.com>
1 parent e0d022d commit 7736e5a

15 files changed

Lines changed: 335 additions & 35 deletions

.github/workflows/ada.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1717

1818
- name: Set up GNAT toolchain
1919
run: >

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
5656
steps:
5757
- name: Checkout repository
58-
uses: actions/checkout@v6
58+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5959

6060
# Add any setup steps before running the `github/codeql-action/init` action.
6161
# This includes steps like installing compilers or runtimes (`actions/setup-node`
@@ -65,7 +65,7 @@ jobs:
6565

6666
# Initializes the CodeQL tools for scanning.
6767
- name: Initialize CodeQL
68-
uses: github/codeql-action/init@v4
68+
uses: github/codeql-action/init@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1
6969
with:
7070
languages: ${{ matrix.language }}
7171
build-mode: ${{ matrix.build-mode }}
@@ -94,6 +94,6 @@ jobs:
9494
exit 1
9595
9696
- name: Perform CodeQL Analysis
97-
uses: github/codeql-action/analyze@v4
97+
uses: github/codeql-action/analyze@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1
9898
with:
9999
category: "/language:${{matrix.language}}"

.github/workflows/elixir.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: actions/checkout@v6
24+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2525
- name: Set up Elixir
2626
uses: erlef/setup-beam@e6d7c94229049569db56a7ad5a540c051a010af9 # v1.20.4
2727
with:
2828
elixir-version: '1.15.2' # [Required] Define the Elixir version
2929
otp-version: '26.0' # [Required] Define the Erlang/OTP version
3030
- name: Restore dependencies cache
31-
uses: actions/cache@v5
31+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
3232
with:
3333
path: deps
3434
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}

.github/workflows/generator-generic-ossf-slsa3-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
digests: ${{ steps.hash.outputs.digests }}
2424

2525
steps:
26-
- uses: actions/checkout@v6
26+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727

2828
# ========================================================
2929
#
@@ -60,7 +60,7 @@ jobs:
6060
actions: read # To read the workflow path.
6161
id-token: write # To sign the provenance.
6262
contents: write # To add assets to a release.
63-
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0
63+
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.0.0
6464
with:
6565
base64-subjects: "${{ needs.build.outputs.digests }}"
6666
upload-assets: true # Optional: Upload to a new release

.github/workflows/guix-nix-policy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
check:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v6
7+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
88
- name: Enforce Guix primary / Nix fallback
99
run: |
1010
# Check for package manager files

.github/workflows/jekyll-gh-pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v6
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3131
- name: Setup Pages
32-
uses: actions/configure-pages@v5
32+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
3333
- name: Build with Jekyll
34-
uses: actions/jekyll-build-pages@v1
34+
uses: actions/jekyll-build-pages@44a6e6beabd48582f863aeeb6cb2151cc1716f3b # v1.0.13
3535
with:
3636
source: ./
3737
destination: ./_site
3838
- name: Upload artifact
39-
uses: actions/upload-pages-artifact@v4
39+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
4040

4141
# Deployment job
4242
deploy:
@@ -48,4 +48,4 @@ jobs:
4848
steps:
4949
- name: Deploy to GitHub Pages
5050
id: deployment
51-
uses: actions/deploy-pages@v4
51+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.github/workflows/npm-bun-blocker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
check:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v6
7+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
88
- name: Block npm/bun
99
run: |
1010
if [ -f "package-lock.json" ] || [ -f "bun.lockb" ] || [ -f ".npmrc" ]; then

.github/workflows/quality.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ jobs:
55
lint:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v6
9-
8+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9+
1010
- name: Check file permissions
1111
run: |
1212
find . -type f -perm /111 -name "*.sh" | head -10 || true
1313
1414
- name: Check for secrets
15-
uses: trufflesecurity/trufflehog@main
15+
uses: trufflesecurity/trufflehog@63e6dcaa4f6b7bbdd96ce0db5b7fbc8c839e7746 # v3.82.8
1616
with:
1717
path: ./
1818
base: ${{ github.event.pull_request.base.sha || github.event.before }}
@@ -29,13 +29,13 @@ jobs:
2929
find . -type f -size +1M -not -path "./.git/*" | head -10 || echo "No large files"
3030
3131
- name: EditorConfig check
32-
uses: editorconfig-checker/action-editorconfig-checker@main
32+
uses: editorconfig-checker/action-editorconfig-checker@35f3c0fca2f5ee3e31fbcd40a5bbc58eb80db28d # v2.0.0
3333
continue-on-error: true
3434

3535
docs:
3636
runs-on: ubuntu-latest
3737
steps:
38-
- uses: actions/checkout@v6
38+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3939
- name: Check documentation
4040
run: |
4141
MISSING=""

.github/workflows/rsr-antipattern.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
antipattern-check:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2020

2121
- name: Check for TypeScript
2222
run: |

.github/workflows/scorecard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ jobs:
1414
security-events: write
1515
id-token: write
1616
steps:
17-
- uses: actions/checkout@v6
17+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818
with:
1919
persist-credentials: false
2020

2121
- name: Run Scorecard
22-
uses: ossf/scorecard-action@v2.4.3
22+
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
2323
with:
2424
results_file: results.sarif
2525
results_format: sarif
2626

2727
- name: Upload results
28-
uses: github/codeql-action/upload-sarif@v4
28+
uses: github/codeql-action/upload-sarif@4f3212b61783c3c68e8309a0f18a699764811cda # v3.27.1
2929
with:
3030
sarif_file: results.sarif

0 commit comments

Comments
 (0)