← Learn
Safe
gh secret set NPM_TOKEN --repo example/app --body "$NEW_TOKEN"

cross-platform · bash · Expert

Stores a rotated token as an encrypted repository secret. The value comes from an environment variable rather than being typed inline, and the API encrypts it in transit so it is never exposed in workflow logs.

Think you can spot these under time pressure?

Start Training

More CI/CD