ci: slim release-please heads and stop compiling on main - #267
Merged
Conversation
Recipe A: ci.yml and security.yml no longer compile on push to main. post-merge.yml keeps Scorecard dispatch only. Recipe G: release-please* heads skip the 3-OS unit, build, integration, and UI matrix. The required ci gate still reports via a cheap ubuntu tsc --noEmit stand-in. CodeQL analysis stays named and echoes on those heads. FOSSA is path-filtered on push and pull_request. Notes: apply-release-notes.sh reads release-note-<semver> first, then legacy RELEASE_NOTES.md on the tag checkout. Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
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
Upgrade CI/CD to the canact Recipe A / Recipe G / notes-branch layout. No product TypeScript change.
ci:so this does not bump the extension.Why
Every
feat/fixmerge force-pushesrelease-please--*and was re-running the full 3-OS unit + build + integration + UI + CodeQL matrix.ci.ymlalso compiled again onpushto main, andpost-merge.ymldispatchedci.yml+security.ymlafter every squash (a second matrix). FOSSA re-scanned every merge becausepaths:was missing.What changed
release-please*heads skip windows/macos unit, integration, and UI. Requiredcistill reports via ubuntunpx tsc --noEmit. RequiredCodeQL analysisstays named and runs a quoted echo stand-in (no checkout/init/analyze).npm audit/ Trivy / Gitleaks / DCO keep reporting. FOSSA may skip those heads.ci.ymlandsecurity.ymlno longer run onpushto main.post-merge.ymlkeeps Scorecard dispatch only. Did not flipstrict_required_status_checks_policy(that re-blocks release-please; tech-debt: release PRs blocked by required status checks policy even when green #156).paths:onpushandpull_request(package.json,package-lock.json,src/**, the workflow file).scripts/apply-release-notes.sh+ cheap apply workflow. Tagpatchloom-v0.6.0-> branchrelease-note-0.6.0. LegacyRELEASE_NOTES.mdon the tag checkout still applies. Cleanup PR stays until the first notes-branch cut succeeds. Publish stays in the existing Package and Upload job.Verification
python3 ~/.grok/skills/ci-build-once/scripts/inventory-waste.py-> 0 findings (W2/W7/W8 gone)actionlinton touched workflowspython3 scripts/test_workflow_triggers.py(8 tests)python3 scripts/test_apply_release_notes.py(8 tests)npm run check(433 pass, 9 skip)Required check names unchanged:
ci,npm audit,Trivy vulnerability scan,Gitleaks secret detection,DCO sign-off,CodeQL analysis.Checklist
git commit -snpm run checkand it passes