Skip to content

A tool that helps to automate github action secrets configuration across many repositories

Notifications You must be signed in to change notification settings

maxcomlan/gitsec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Github Secrets

A tool that helps to automate github action secrets configuration across many repositories in a project

Installation (linux)

  chmod +x install
  sudo ./install

How to run

  github-secrets -f <your file path>

Configuration file structure

authorization:
  token: <your github personal token>

secrets:

  server_host:
    name: <name to insert in github>
    value: <value of that secret>
  
  ### other secrets are listed here

repositories:
  appname: 
    name: user/repo # repository name formatted like <owner>/<repo>
    url: <repository url>
    secrets: 
      - server_host
      # and other secrets needed for this repo

  # other apps are listed here