Skip to content

Commit 3047f94

Browse files
hyperpolymathhypatia-autofix
andcommitted
chore: hypatia auto-fix (23 formulaic fixes)
Applied by auto-fix-formulaic.sh: - SHA-pinned unpinned GitHub Actions - Added missing workflow permissions - Fixed license headers Co-Authored-By: hypatia-autofix <noreply@hyperpolymath.github.io>
1 parent 4dea726 commit 3047f94

File tree

10 files changed

+31
-15
lines changed

10 files changed

+31
-15
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
# the `language` matrix defined below to confirm you have the correct set of
1111
# supported CodeQL languages.
1212
#
13+
permissions: read-all
14+
1315
name: "CodeQL Advanced"
1416

1517
on:
@@ -62,7 +64,7 @@ jobs:
6264
# 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
6365
steps:
6466
- name: Checkout repository
65-
uses: actions/checkout@v4
67+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
6668

6769
# Add any setup steps before running the `github/codeql-action/init` action.
6870
# This includes steps like installing compilers or runtimes (`actions/setup-node`

.github/workflows/container-policy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
permissions: read-all
3+
24
name: Container Policy
35
on: [push, pull_request]
46
jobs:
57
check:
68
runs-on: ubuntu-latest
79
steps:
8-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
911
- name: Enforce container policy
1012
run: |
1113
# Block new Dockerfiles

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
permissions: read-all
3+
24
name: Guix/Nix Package Policy
35
on: [push, pull_request]
46
jobs:
57
check:
68
runs-on: ubuntu-latest
79
steps:
8-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
911
- name: Enforce Guix primary / Nix fallback
1012
run: |
1113
# 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
@@ -28,16 +28,16 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3232
- name: Setup Pages
33-
uses: actions/configure-pages@v5
33+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
3434
- name: Build with Jekyll
35-
uses: actions/jekyll-build-pages@v1
35+
uses: actions/jekyll-build-pages@44a6e6beabd48582f863aeeb6cb2151cc1716697 # v1
3636
with:
3737
source: ./
3838
destination: ./_site
3939
- name: Upload artifact
40-
uses: actions/upload-pages-artifact@v3
40+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
4141

4242
# Deployment job
4343
deploy:
@@ -49,4 +49,4 @@ jobs:
4949
steps:
5050
- name: Deploy to GitHub Pages
5151
id: deployment
52-
uses: actions/deploy-pages@v4
52+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4

.github/workflows/quality.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
permissions: read-all
3+
24
name: Code Quality
35
on: [push, pull_request]
46

57
jobs:
68
lint:
79
runs-on: ubuntu-latest
810
steps:
9-
- uses: actions/checkout@v4
11+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1012

1113
- name: Check file permissions
1214
run: |
@@ -36,7 +38,7 @@ jobs:
3638
docs:
3739
runs-on: ubuntu-latest
3840
steps:
39-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4042
- name: Check documentation
4143
run: |
4244
MISSING=""

.github/workflows/rsr-antipattern.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# Enforces: No TypeScript, No Go, No Python (except SaltStack), No npm
66
# Allows: ReScript, Deno, WASM, Rust, OCaml, Haskell, Guile/Scheme
77

8+
permissions: read-all
9+
810
name: RSR Anti-Pattern Check
911

1012
on:
@@ -17,7 +19,7 @@ jobs:
1719
antipattern-check:
1820
runs-on: ubuntu-latest
1921
steps:
20-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2123

2224
- name: Check for TypeScript
2325
run: |

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
security-events: write
1616
id-token: write
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1919
with:
2020
persist-credentials: false
2121

.github/workflows/security-policy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
permissions: read-all
3+
24
name: Security Policy
35
on: [push, pull_request]
46
jobs:
57
check:
68
runs-on: ubuntu-latest
79
steps:
8-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
911
- name: Security checks
1012
run: |
1113
FAILED=false

.github/workflows/ts-blocker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
permissions: read-all
3+
24
name: TypeScript/JavaScript Blocker
35
on: [push, pull_request]
46
jobs:
57
check:
68
runs-on: ubuntu-latest
79
steps:
8-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
911
- name: Block new TypeScript/JavaScript
1012
run: |
1113
NEW_TS=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.(ts|tsx)$' | grep -v '\.gen\.' || true)

.github/workflows/wellknown-enforcement.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# SPDX-License-Identifier: PMPL-1.0-or-later
2+
permissions: read-all
3+
24
name: Well-Known Standards (RFC 9116 + RSR)
35
on:
46
push:
@@ -18,7 +20,7 @@ jobs:
1820
validate:
1921
runs-on: ubuntu-latest
2022
steps:
21-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2224

2325
- name: RFC 9116 security.txt validation
2426
run: |

0 commit comments

Comments
 (0)