Skip to content

Commit 6d3abe9

Browse files
hyperpolymathclaude
andcommitted
chore: batch RSR compliance — SPDX headers, SHA-pin actions, forbid(unsafe_code), CODE_OF_CONDUCT, CONTRIBUTING
- Add/fix SPDX-License-Identifier headers (AGPL→PMPL where needed) - SHA-pin all GitHub Actions to commit hashes - Add #![forbid(unsafe_code)] to safe Rust crates - Add CODE_OF_CONDUCT.md (Contributor Covenant v2.1) - Add CONTRIBUTING.md (standard template) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 524f854 commit 6d3abe9

8 files changed

Lines changed: 355 additions & 93 deletions

File tree

.github/workflows/cflite_batch.yml

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

5353
- name: Upload corpus
5454
if: always()
55-
uses: actions/upload-artifact@v7
55+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
5656
with:
5757
name: fuzz-corpus-${{ matrix.sanitizer }}
5858
path: build/corpus

.github/workflows/compilation_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ jobs:
253253
run: cargo build --release --target ${{ matrix.target }}
254254

255255
- name: Upload artifact
256-
uses: actions/upload-artifact@v7
256+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
257257
with:
258258
name: ${{ matrix.artifact }}
259259
path: impl/rust-cli/target/${{ matrix.target }}/release/vsh${{ matrix.os == 'windows-latest' && '.exe' || '' }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
actions: read # To read the workflow path.
6565
id-token: write # To sign the provenance.
6666
contents: write # To add assets to a release.
67-
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2.1.0
67+
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@f7dd8c54c2067bafc12ca7a55595d5ee9b75204a # v2.1.0
6868
with:
6969
base64-subjects: "${{ needs.build.outputs.digests }}"
7070
upload-assets: true # Optional: Upload to a new release

.github/workflows/lean-verification.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
# Note: with-lean binary would be in different target dir, skip for now
115115
116116
- name: Upload artifacts
117-
uses: actions/upload-artifact@v7
117+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
118118
with:
119119
name: lean-extraction-artifacts
120120
path: |
@@ -171,7 +171,7 @@ jobs:
171171
cargo bench --bench lean_verification_overhead -- --baseline baseline
172172
173173
- name: Upload benchmark results
174-
uses: actions/upload-artifact@v7
174+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
175175
with:
176176
name: benchmark-results
177177
path: impl/rust-cli/target/criterion/

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
results_format: sarif
2828

2929
- name: Upload results
30-
uses: github/codeql-action/upload-sarif@v4
30+
uses: github/codeql-action/upload-sarif@6624720a57d4c312633c7b953db2f2da5bcb4c3a # v3
3131
with:
3232
sarif_file: results.sarif

.github/workflows/validation.yml

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

4141
- name: Upload validation report
4242
if: always()
43-
uses: actions/upload-artifact@v7
43+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
4444
with:
4545
name: validation-report
4646
path: validation-report.md

0 commit comments

Comments
 (0)