Skip to content

Commit 3aca491

Browse files
Chore/cicd optimizations (#43)
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c3c2ff2 commit 3aca491

21 files changed

Lines changed: 2092 additions & 14 deletions

.github/workflows/boj-build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: PMPL-1.0-or-later
12
name: BoJ Server Build Trigger
23
on:
34
push:
@@ -8,10 +9,11 @@ jobs:
89
runs-on: ubuntu-latest
910
steps:
1011
- name: Checkout
11-
uses: actions/checkout@v6
12+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1213
- name: Trigger BoJ Server (Casket/ssg-mcp)
1314
run: |
1415
# Send a secure trigger to boj-server to build this repository
1516
curl -X POST "http://boj-server.local:7700/cartridges/ssg-mcp/invoke" -H "Content-Type: application/json" -d "{\"repo\": \"${{ github.repository }}\", \"branch\": \"${{ github.ref_name }}\", \"engine\": \"casket\\"}"}
1617
continue-on-error: true
17-
permissions: read-all
18+
permissions:
19+
contents: read

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name: Guix/Nix Package Policy
33
on: [push, pull_request]
44

5-
permissions: read-all
5+
permissions:
6+
contents: read
67

78
jobs:
89
check:

.github/workflows/mirror.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77
branches: [main]
88
workflow_dispatch:
99

10-
permissions: read-all
10+
permissions:
11+
contents: read
1112

1213
jobs:
1314
mirror-gitlab:

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name: NPM/Bun Blocker
33
on: [push, pull_request]
44

5-
permissions: read-all
5+
permissions:
6+
contents: read
67

78
jobs:
89
check:

.github/workflows/rsr-antipattern.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ on:
1414
branches: [main, master, develop]
1515

1616

17-
permissions: read-all
17+
permissions:
18+
contents: read
1819

1920
jobs:
2021
antipattern-check:

.github/workflows/scorecard-enforcer.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99
- cron: '0 6 * * 1' # Weekly on Monday
1010
workflow_dispatch:
1111

12-
permissions: read-all
12+
permissions:
13+
contents: read
1314

1415
jobs:
1516
scorecard:

.github/workflows/secret-scanner.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77
push:
88
branches: [main]
99

10-
permissions: read-all
10+
permissions:
11+
contents: read
1112

1213
jobs:
1314
trufflehog:

.github/workflows/security-policy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name: Security Policy
33
on: [push, pull_request]
44

5-
permissions: read-all
5+
permissions:
6+
contents: read
67

78
jobs:
89
check:

.github/workflows/ts-blocker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
name: TypeScript/JavaScript Blocker
33
on: [push, pull_request]
44

5-
permissions: read-all
5+
permissions:
6+
contents: read
67

78
jobs:
89
check:

.github/workflows/wellknown-enforcement.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
workflow_dispatch:
1616

1717

18-
permissions: read-all
18+
permissions:
19+
contents: read
1920

2021
jobs:
2122
validate:

0 commit comments

Comments
 (0)