Repository navigation
ci: run release-please under the main-secrets environment - #247
Conversation
The job mints a release App token. An environment limited to main stops a workflow on any other branch from reading the App key.
|
Automated review: APPROVE Net call: ship. The repository is public, so environment secrets and deployment branches work on every plan. The one job that reads the release secrets now runs under the Weight: 1 workflow line, no proof. Non-blocking:
|
|
Automated review: APPROVE Net call: ship. One job reads the release App secrets, and it runs only on a push to Weight: 1 line of workflow configuration, no proof lines. Non-blocking:
|
Quality report
Gate: passed
Proof weightProduct +1 lines against proof +0 lines (no proof classes changed). Measures on added linesNothing found by jscpd. Test runtimeThis run against the median of the last 5 successful
Every table: this run's summary. |
What changed
The
release-pleasejob now runs under themain-secretsEnvironment. That Environment admits deployments frommainonly.Why
The job reads the release App ID and private key. A workflow pushed on any other branch could read repository-level secrets. An Environment secret, behind a branch policy, cannot be read that way.
Proof
release-please.ymlrelease-pleasepushtomainRELEASE_PLEASE_APP_ID,RELEASE_PLEASE_APP_PRIVATE_KEYrelease.yml,go-ci.yml,nix-integration.ymlandci-efficacy-audit.ymldo not.environment: main-secrets.actionlintwas not available.Risk and undo
maindoes not change.Follow-up (owner)
main-secretsEnvironment.mainrunrelease-pleaseand check it passes.