Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (29 loc) · 1.2 KB

File metadata and controls

40 lines (29 loc) · 1.2 KB

octoherd-script: repository-secrets

repository-secrets version

Manage repository Action secrets and variables

@octoherd helps to keep your GitHub repositories in line.

Usage

$ npx @stoe/octoherd-script-repository-secrets \
  --octoherd-token ghp_000000000000000000000000000000000000 \
  --octoherd-repos "stoe/*" \
  --path .secrets.yml

Options

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

License

MIT