Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.55 KB

README.md

File metadata and controls

39 lines (31 loc) · 1.55 KB

Pigeon

Falco Infra Repository Incubating

Latest Go Report Card CI build

Script to set github org/repo actions variables and secrets from a config file.

Cli options

  • --conf -> MANDATORY: yaml config for the run
  • --gh-token -> path to github token file
  • --dry-run -> don't actually do any change
  • --verbose -> enable verbose logging

Github token file can also be passed from GITHUB_TOKEN_FILE env variable.

NOTE: github token file MUST be set from either the cli flag or env variable!

Example Config

orgs:
  foo:
    actions:
      variables:
        orgVar1: "orgValue1"
      secrets:
        - orgSecret0
    repos:
      bar:
        actions:
          variables:
            repoVar1: "repoValue1"
            repoVar2: "repoValue2"
          secrets:
            - repoSecret0