Repository navigation
ci: put audit remediation and the back-merge heading fold on main [skip changelog] - #159
Merged
Merged
Conversation
…ip changelog] #158 added audit-remediate.yml and the heading fold in backmerge.yml to develop. Scheduled, workflow_run and push-to-main workflows run the version on main, so until these files are on main the nightly cannot trigger the remediation and the back-merge still uses the old step. Same content as the CI files of #158 (workflows, scripts, tests, fixture). AGENTS.md and CHANGELOG.md stay on develop and ship with the next release. A simulated back-merge of this commit into develop changes no content. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012ESxuEjCeVsRAAxAb29Yjr
Contributor
Coverage Report
File CoverageNo changed files found. |
This was referenced Oct 30, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#158 added
audit-remediate.ymland the duplicate-heading fold inbackmerge.ymltodevelop. Scheduled,workflow_runand push-to-mainworkflows run the version onmain, so until these files are onmainthe nightly cannot trigger the remediation and the back-merge still runs the old step (no fold). This PR puts the CI files onmainnow instead of waiting for a release, following the precedent of earlier workflow-only fixes that went straight tomainas manual hotfix PRs (#87, #133).Merge as a merge commit, never squash or rebase.
backmerge.ymlthen carries it intodevelop.What is in it
Exactly the nine CI files of #158, byte for byte what is on
develop(verified:git diff origin/develop HEAD -- .github scripts tests/automationis empty):.github/workflows/audit-remediate.yml(new), plus the edits tobackmerge.ymlandnightly.ymlscripts/audit-remediate.mjs,scripts/changelog-fold-headings.mjs(new)backmerge.node-test.mjs, and the realnpm auditfixtureWhat is deliberately not in it
AGENTS.mdandCHANGELOG.mdedits from #158 stay ondevelopand ship with the next release (hence[skip changelog], as in #133). Putting them here as well would only risk a conflicting back-merge for no behavioural gain.Verification
main, with only these files added): 89 automation tests pass,npm run checkpasses (598 tests), the three workflow files parse.developwith the realmerge=uniondriver changes no content (empty diff),changelog-guard --baseline-refpasses, and the fold step is a no-op.mainhad before the hand-made hotfixes with the real registry, fixed all six packages and broughtnpm auditfrom 6 vulnerabilities to 0.Not verified
audit-remediate.ymlhas happened yet (it cannot run until this is onmain). After merging, run it once by hand from the Actions tab: a manual run is a dry run by default.gh pr createand the push withRELEASE_TOKENfrom the new workflow are untested;backmerge.ymlalready does both with that token.Type of change
Checklist
npm testpasses locally (598 passed, 29 skipped);node --test tests/automation/*.node-test.mjs89 passednpx tsc --noEmitpasses locallyGenerated by Claude Code