Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.13 KB

README.md

File metadata and controls

23 lines (13 loc) · 1.13 KB

secrets-sync

The secrets-sync config for managing secrets across multiple repositories through code.

Getting started

  1. Edit the config and mappings in the workflow.
  2. Create a Personal Access Token with the repo scope.
  3. Add it as a secret to this repository with the name SECRET_SYNC_TOKEN.

Behavior

Secrets will be created if they don't exist in the destination repository, or updated if they do exist.

If a secret value is removed from the config it will be deleted from any repository it was assigned to.

Usage

The secrets-sync workflow can be manually triggered whenever you want to re-sync your secrets.

yamllint will run on any pull request or push to main to help ensure the config file is formatted correctly.

Enable debug logging to see more details about the workflow run.