Skip to content

fix(ci): repair corrupted rsr-antipattern.yml from #17#18

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/rsr-antipattern-corruption-2026-05-14
May 14, 2026
Merged

fix(ci): repair corrupted rsr-antipattern.yml from #17#18
hyperpolymath merged 1 commit into
mainfrom
fix/rsr-antipattern-corruption-2026-05-14

Conversation

@hyperpolymath
Copy link
Copy Markdown
Owner

PR #17 was auto-merged but landed corrupted YAML — 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 resulting file has mid-word line breaks (# SPDX-License-Id\nentifier:, name: RSR A\nnti-Pattern, etc.). GitHub Actions can't parse it — the workflow completes in 0 seconds with no jobs.

This PR replaces the file with the correct content, built via raw byte download (Accept: application/vnd.github.raw) and [System.IO.File]::WriteAllBytes so no pipe touches the bytes. Round-trip byte-verified against canonical (8553 bytes, 1 PYEOF, no orphan BUILTIN_GLOBS, DIR_NAMES_ALLOWED preserved). Same fix as hyperpolymath/stapeln#34.

PR #17 was auto-merged but landed corrupted YAML — 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 resulting file has mid-word line breaks (`# SPDX-License-Id\nentifier:`, `name: RSR A\nnti-Pattern`, etc.). GitHub Actions can't parse it — the workflow completes in 0 seconds with no jobs.

This PR replaces the file with the correct content, built via raw byte download (`Accept: application/vnd.github.raw`) and `[System.IO.File]::WriteAllBytes` so no pipe touches the bytes. Round-trip byte-verified against canonical (8553 bytes, 1 PYEOF, no orphan BUILTIN_GLOBS, DIR_NAMES_ALLOWED preserved). Same fix as hyperpolymath/stapeln#34.
@hyperpolymath hyperpolymath merged commit 30f669a into main May 14, 2026
11 of 15 checks passed
@hyperpolymath hyperpolymath deleted the fix/rsr-antipattern-corruption-2026-05-14 branch May 14, 2026 15:44
@github-actions
Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails
actions/actions/checkout de0fac2e4500dabe0009e67214ff5f5447ce83dd 🟢 5.7
Details
CheckScoreReason
Maintained⚠️ 01 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Code-Review🟢 10all changesets reviewed
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
Packaging⚠️ -1packaging workflow not detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 9security policy file detected
Branch-Protection🟢 5branch protection is not maximal on development and all release branches
SAST🟢 8SAST tool detected but not run on all commits

Scanned Files

  • .github/workflows/rsr-antipattern.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant