pigeon

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL