Skip to content

Commit 6821477

Browse files
Chore/hypatia scan reusable wrapper (#14)
* chore(ci): convert hypatia-scan.yml to thin wrapper of standards reusable Replaces ~416 lines of duplicated Hypatia scan plumbing with a 29-line wrapper calling hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml at SHA 2569c10e831e293f9dd6580d82a494aca039deee (standards#191 HEAD). Behaviour-preserving: same triggers, same concurrency group, same permissions, same secrets passthrough. Refs standards#191. * chore(ci): retarget hypatia-scan wrapper to standards#193 HEAD Standards #191 was closed in favour of #193 (parallel-session implementation with simpler API: zero inputs except runs-on). Repointing the wrapper at #193 HEAD 97df762107501909f50bb770e9bc200b6c415600 so it picks up the merged reusable once #193 lands. Refs standards#193. * ci(sweep): codeql actions matrix, workflow permissions - Replace codeql.yml `javascript-typescript` matrix entry with `actions` (repo has no JS/TS source). Matches the canonical fix in rsr-template-repo#71 / mtpc#8 / thunderbird#75. - Add top-level `permissions: contents: read` to workflows flagged by governance-reusable's Workflow security linter.
1 parent 2a0fd18 commit 6821477

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/codeql.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
include:
32-
- language: javascript-typescript
32+
# Repo source is not JS/TS; scan workflow files via the
33+
# actions extractor (every repo has those). See hypatia rule
34+
# codeql_language_matrix_mismatch.
35+
- language: actions
3336
build-mode: none
3437

3538
steps:

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
tags:
77
- 'v*'
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
create-release:
1114
name: Create Release

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
pull_request:
88
branches: [ main, develop ]
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
shellcheck:
1215
name: ShellCheck

0 commit comments

Comments
 (0)