Skip to content

Commit 5036877

Browse files
chore: fill or remove RSR template placeholders (#64)
`openssf-compliance.yml` fails when any of the thirteen files it checks still contains a `{{PLACEHOLDER}}` token. This clears them, with no invention. - **Deleted** the `TEMPLATE INSTRUCTIONS (delete this block before publishing)` comment — the template says to delete it, and it is where every legend line lived, so a large share of the reported tokens were the file documenting its own placeholders. - **Filled** what the repository itself supplies: owner and repo from the git remote, project name, year, forge, main branch, contact email. - **Removed** PGP and website lines. `https://github.com/<user>.gpg` returns HTTP 200 for every account; with no key uploaded the body is a stub reading *"This user hasn't uploaded any GPG keys"*. No key is published for either account, and commit signing here is SSH — unrelated. The template sanctions this: *"Optional: Remove sections that don't apply (e.g. PGP if you don't use it)."*\n\nA security policy telling a researcher to encrypt to a key that does not exist is worse than one that does not mention encryption.\n\n**Where applicable, this also fixes a misrouted advisory URL.** A previous `just init` copied already-filled templates out of `squisher-corpus`, so 51 repositories directed vulnerability reports to `hyperpolymath/squisher-corpus` — a repository unrelated to the code being reported, meaning the affected maintainer never saw them. Repointed from this repository's own git remote. --------- Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 06eafa8 commit 5036877

17 files changed

Lines changed: 28 additions & 217 deletions

.github/workflows/boj-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
branches: [main, master]
1212
workflow_dispatch:
1313
permissions:
14+
actions: read
1415
contents: read
1516
jobs:
1617
trigger-boj:

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
1616
cancel-in-progress: true
1717
permissions:
18+
actions: read
1819
contents: read
1920
jobs:
2021
analyze:

.github/workflows/dependabot-automerge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ on:
3939
pull_request:
4040
types: [opened, reopened, synchronize]
4141
permissions:
42+
actions: read
4243
contents: write # needed to enable auto-merge
4344
pull-requests: write # needed to approve
4445
# NB: keep narrow — do NOT add secrets: read or id-token: write here.

.github/workflows/dogfood-gate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
push:
1212
branches: [main, master]
1313
permissions:
14+
actions: read
1415
contents: read
1516
jobs:
1617
# ---------------------------------------------------------------------------

.github/workflows/governance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
workflow_dispatch:
1010

1111
permissions:
12+
actions: read
1213
contents: read
1314

1415
jobs:

.github/workflows/hypatia-scan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
workflow_dispatch:
1212

1313
permissions:
14+
actions: read
1415
contents: read
1516
security-events: write
1617

.github/workflows/instant-sync.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
release:
88
types: [published]
99
permissions:
10+
actions: read
1011
contents: read
1112
jobs:
1213
dispatch:

.github/workflows/mirror.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [main]
66
workflow_dispatch:
77
permissions:
8+
actions: read
89
contents: read
910
jobs:
1011
mirror:

.github/workflows/nimble-site.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
branches: [main]
88
workflow_dispatch:
99
permissions:
10+
actions: read
1011
contents: read
1112
pages: write
1213
id-token: write

.github/workflows/pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches: [main, master]
66
workflow_dispatch:
77
permissions:
8+
actions: read
89
contents: read
910
pages: write
1011
id-token: write

0 commit comments

Comments
 (0)