Repository navigation
ci: harden workflows, publish coverage, schedule PR queue hygiene - #544
Merged
Merged
Conversation
- Add persist-credentials: false to remaining checkouts in import-architectures, refresh-community-people, deploy-gh-pages, and the new hygiene workflow (#219) - Remove unused GH_TOKEN from the ci.yml build step; the Docusaurus build reads only SITE_URL/BASE_URL (#279) - Scope pages: write and id-token: write to the deploy job in deploy-gh-pages.yml; build job runs with contents: read (#374) - Run unit tests with coverage in CI, publish the summary to the job summary, and upload it as an artifact; the coverage runner propagates test failures (#186) - Add a scheduled workflow running scripts/pr-queue-hygiene.mjs every 6 hours with a dry-run-tested least-privilege token (#454) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Bob Killen <bkillen@linuxfoundation.org>
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.
Batch of P2 workflow items from the triage tracker #530.
persist-credentials: falseto the remaining checkouts (import-architectures, refresh-community-people, deploy-gh-pages, and the new hygiene workflow). The import/refresh workflows push viapeter-evans/create-pull-request's owntokeninput, so they do not rely on persisted git credentials.GH_TOKENfrom the ci.yml build step — the production build reads onlySITE_URL/BASE_URL; nothing in the Docusaurus build path readsGH_TOKEN.pages: write/id-token: writeto the deploy job only; the build job runs withcontents: read.test:unit:coverage(with pipefail), appends the coverage table to the job summary, and uploads it as an artifact.tests/tools/coverage-report.mjspropagates test failures, so the gate is unchanged.scripts/pr-queue-hygiene.mjswithpull-requests: write/issues: write. Verified locally withDRY_RUN=1(correctly skipped held PRs test: cover the MemberDirectory cards, filters and profile dialog #529/test: cover RadarReports missing-corpus fallback branches #532/fix(import): never follow symbolic links when walking architecture assets #533).All YAML parse-checked and prettier-clean.
Fixes #219, fixes #279, fixes #374, fixes #186, fixes #454.