Skip to content

Commit b0d744c

Browse files
committed
fix(ci): repair corrupted rsr-antipattern.yml on this branch
Repairs the corrupted `rsr-antipattern.yml` from the prior commit on this branch. See hyperpolymath/stapeln#34 for the full root-cause writeup — the original sweep built its canonical via `gh api --jq '.content'` piped through PowerShell, but `gh` line-wraps base64 in the terminal pipe, so each chunk was decoded separately and the rejoined file has mid-word line breaks (`# SPDX-License-Id\nentifier:`, `name: RSR A\nnti-Pattern`, etc.). GitHub Actions can't parse the resulting YAML — the workflow completes in 0 seconds with no jobs. This commit overwrites the file with the correct content, built via raw byte download (`Accept: application/vnd.github.raw`) and `[System.IO.File]::WriteAllBytes` so no pipe ever touches the bytes. Round-trip byte-verified against canonical.
1 parent e97462a commit b0d744c

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/rsr-antipattern.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
# Enforces: No TypeScript, No Go, No Python (except SaltStack), No npm
66
# Allows: ReScript, Deno, WASM, Rust, OCaml, Haskell, Guile/Scheme
77

8-
permissions:
9-
contents: read
10-
118
name: RSR Anti-Pattern Check
129

1310
on:
@@ -16,11 +13,17 @@ on:
1613
pull_request:
1714
branches: [main, master, develop]
1815

16+
17+
permissions:
18+
contents: read
19+
1920
jobs:
2021
antipattern-check:
2122
runs-on: ubuntu-latest
23+
permissions:
24+
contents: read
2225
steps:
23-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
26+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2427

2528
- name: Check for TypeScript
2629
run: |

0 commit comments

Comments
 (0)