Audit release environment settings#108
Conversation
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
Review Summary by Qodo
WalkthroughsDescription• Add manual pre-tag GitHub Environment audit script for release gates • Document registry Trusted Publisher manual verification requirements • Update release documentation with new audit step and numbering • Fix README governance links to use absolute GitHub URLs • Clarify Scorecard signed-release provenance expectations Diagramflowchart LR
A["Release Process"] --> B["Manual Audit Script"]
B --> C["Verify GitHub Environments"]
C --> D["Check Reviewer & Tag Policy"]
D --> E["Document Requirements"]
E --> F["Update RELEASING.md"]
A --> G["Fix Documentation Links"]
G --> H["Absolute GitHub URLs"]
File Changes1. tests/release_environment_settings.sh
|
Code Review by Qodo
1.
|
3f66b4c to
b066424
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Code Review
This pull request introduces a manual pre-tag audit script (tests/release_environment_settings.sh) to verify GitHub Environment release gates before publishing, updates RELEASING.md to document this step, and excludes the script from the Cargo package. It also updates relative links in README.md to absolute URLs and refines comments in tests/release_signed_release_invariants.sh. Feedback on the new script suggests optimizing GitHub API calls by querying all required fields in a single gh api call per endpoint using jq with TSV formatting, reducing the total API calls from 18 to 4 to prevent potential rate limiting.
There was a problem hiding this comment.
Pull request overview
This PR adds a manual pre-tag audit script for GitHub Environment release gates and tightens release documentation to remove Scorecard maximum-score claims and packaged README relative governance links.
Changes:
- New
tests/release_environment_settings.shauditscrates-io/pypienvironments (required reviewer + tag-only deployment policy) viagh api. RELEASING.mdadds the audit step to the release checklist and renumbers subsequent steps;release.ymlandrelease_signed_release_invariants.shreword Scorecard claims to drop the "= 10" overclaim.README.mdconvertsGOVERNANCE.md/CONTRIBUTING.mdlinks to absolute GitHub URLs (so they work in packaged distributions);Cargo.tomlexcludes the new script from the published crate.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/release_environment_settings.sh | New manual audit script for GitHub Environment release gates. |
| tests/release_signed_release_invariants.sh | Reword comment to drop "Signed-Releases = 10" claim. |
| RELEASING.md | Add audit step to checklist; renumber subsequent steps. |
| README.md | Convert GOVERNANCE/CONTRIBUTING relative links to absolute GitHub URLs. |
| Cargo.toml | Exclude new audit script from packaged crate. |
| .github/workflows/release.yml | Soften Scorecard score wording; refresh package step comment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Nelson Spence <nelson@projectnavi.ai>
Summary:
Validation:
Manual setting still required before tagging: