Skip to content

Commit b0c8e50

Browse files
chore: fill or remove RSR template placeholders (#27)
`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 c51a5cc commit b0c8e50

13 files changed

Lines changed: 17 additions & 24 deletions

.github/workflows/boj-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ jobs:
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
1818
permissions:
19+
actions: read
1920
contents: read

.github/workflows/casket-pages.yml

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

99
permissions:
10+
actions: read
1011
contents: read
1112
pages: write
1213
id-token: write

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# SPDX-License-Identifier: MPL-2.0
22
name: CI
33
permissions:
4+
actions: read
45
contents: read
56

67
on:

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ concurrency:
99
cancel-in-progress: true
1010

1111
permissions:
12+
actions: read
1213
contents: read
1314
# to commit it to your repository.
1415
#

.github/workflows/governance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ concurrency:
2727
cancel-in-progress: true
2828

2929
permissions:
30+
actions: read
3031
contents: read
3132

3233
jobs:

.github/workflows/hypatia-scan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ concurrency:
1818
cancel-in-progress: true
1919

2020
permissions:
21+
actions: read
2122
contents: read
2223
# security-events: write serves two purposes (write implies read):
2324
# 1. read — lets the built-in GITHUB_TOKEN query this repo's own

.github/workflows/instant-sync.yml

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

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

1415
jobs:

.github/workflows/mirror.yml

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

99
permissions:
10+
actions: read
1011
contents: read
1112

1213
jobs:

.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

.github/workflows/push-email-notify.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ name: Push email notification
77
on:
88
push: {}
99
permissions:
10+
actions: read
1011
contents: read
1112
jobs:
1213
notify:

0 commit comments

Comments
 (0)