pub fn default_ci_token(
forge: Forge,
var: impl Fn(&str) -> Option<String>,
) -> Option<&'static str>Expand description
The default CI token’s variable, where the credential the forge CLI would push with is that token alone.
A push made with the default token starts no pipeline, so the release
half would never run. GH_TOKEN and GITLAB_TOKEN carry the bot
credential; a job that sets only GITHUB_TOKEN or CI_JOB_TOKEN, or
sets the bot variable to the same value, pushes as the default token.