You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decide how verify treats missing credentials on CI runners #84
verify reports a referenced credential that is not stored as a finding, and findings make it exit 1. That is right on a contributor's machine. On a CI runner with a working but empty credential store it means verify always fails for any manifest whose stdio servers reference secret: names, although nothing about the repository's setup is wrong.
Verify's exit status therefore depends on the machine's keyring, which makes it unusable as a CI gate for such manifests. A runner without any credential store is different: there the lookup cannot answer and verify prints a notice instead of a finding.
Options
Keep it. Verify answers "is this checkout ready to use", and without the credential it is not. CI should run check for the manifest and not verify.
A flag to leave credentials out, for example verify --skip-credentials, for hosts that never launch the servers.
Treat missing credentials as notices when CI is set, as the release notice already keys on it. Implicit, and it changes a result based on the environment.
Current leaning: option 1, stated in the docs, unless someone needs verify in CI for the file checks it does beyond check.
Activity