The secrets-sync config for managing secrets across multiple repositories through code.
- Edit the config and mappings in the
workflow
. - Create a Personal Access Token with the
repo
scope. - Add it as a secret to this repository with the name
SECRET_SYNC_TOKEN
.
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.
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.