Skip to content

Commit 4bc24cb

Browse files
committed
fix(scorecard): enforce granular permissions and add fuzzing placeholder
1 parent c4c5f9d commit 4bc24cb

17 files changed

Lines changed: 33 additions & 16 deletions

.github/workflows/boj-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ jobs:
1515
# Send a secure trigger to boj-server to build this repository
1616
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\\"}"}
1717
continue-on-error: true
18-
permissions: read-all
18+
permissions:
19+
contents: read

.github/workflows/codeql.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,5 @@ jobs:
9090
uses: github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4
9191
with:
9292
category: "/language:${{matrix.language}}"
93-
permissions: read-all
93+
permissions:
94+
contents: read

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ jobs:
2828
fi
2929
3030
echo "✅ Package policy check passed"
31-
permissions: read-all
31+
permissions:
32+
contents: read

.github/workflows/hpc-ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ on:
2727
- 'generated/abi/**'
2828
- '.github/workflows/hpc-ci.yml'
2929

30-
permissions: read-all
30+
permissions:
31+
contents: read
3132

3233
env:
3334
ZIG_VERSION: '0.15.2'

.github/workflows/hypatia-scan.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ on:
1111
- cron: '0 0 * * 0' # Weekly on Sunday
1212
workflow_dispatch:
1313

14-
permissions: read-all
14+
permissions:
15+
contents: read
1516

1617
jobs:
1718
scan:

.github/workflows/mirror.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88
- 'v*'
99
workflow_dispatch:
1010

11-
permissions: read-all
11+
permissions:
12+
contents: read
1213

1314
jobs:
1415
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/quality.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ jobs:
4242
else
4343
echo "✅ Core documentation present"
4444
fi
45-
permissions: read-all
45+
permissions:
46+
contents: read

.github/workflows/rsr-antipattern.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,5 @@ jobs:
7272
echo "║ ║"
7373
echo "║ Blocked: TypeScript, Go, npm, Python (non-Salt) ║"
7474
echo "╚════════════════════════════════════════════════════════════╝"
75-
permissions: read-all
75+
permissions:
76+
contents: read

.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:

0 commit comments

Comments
 (0)