Manage repository Action secrets and variables
@octoherd helps to keep your GitHub repositories in line.
$ npx @stoe/octoherd-script-repository-secrets \
--octoherd-token ghp_000000000000000000000000000000000000 \
--octoherd-repos "stoe/*" \
--path .secrets.yml
option | type | description |
---|---|---|
--dry-run |
boolean | show what would be done (default false ) |
--path |
string | path to the secrets file in YAML format, see below (default .secrets.yml ) |
.secrets.yml
format
# .secrets.yml
secrets:
SECRET_NAME: value
ANOTHER_SECRET: value
variables:
VARIABLE_NAME: value
ANOTHER_VARIABLE: value