Commit e60c46a
committed
chore: scrub upstream-notify.yml + add gitleaks allowlist for placeholders
upstream-notify.yml:
- runs-on: self-hosted -> ubuntu-latest. The job only calls the gh CLI
to upsert an issue; no internal resources needed. Removes the
self-hosted-runner disclosure and frees those minutes for jobs that
actually need self-hosted.
- Drop the comment about "185 unread tickets between Feb 18 and Mar 19,
2026" — operational anecdote, not useful to a public reader.
.gitleaks.toml:
- New file. Extends gitleaks default rules with a tight allowlist for
documented placeholder values (sk_live_xxx, sk_live_your_key,
YOUR_API_KEY, ${VAR_NAME}, etc.) that appear in curl examples,
OpenAPI/AsyncAPI specs, and llms-full.txt. Suppresses the 150 known
benign findings while keeping real-looking tokens flagged — verified
by injecting a fake sk_live_realLookingToken1234567890 and confirming
it's still caught.1 parent 3e6e6be commit e60c46a
2 files changed
Lines changed: 40 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
| |||
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
21 | | - | |
| 18 | + | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
0 commit comments