jpoehnelt / secrets-sync-action

A Github Action that can sync secrets from one repository to many others.

Home Page:https://github.com/marketplace/actions/secrets-sync-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sync secrets into repository Environments

Natanande opened this issue ยท comments

Github repositories has a neat feature where one can specify a set of environments with their own protection rules.
https://docs.github.com/en/actions/reference/environments#environment-secrets

This is useful for reusing and writing clean workflow code. For example, I might have a secret DEPLOY_TOKEN in my environment "prod", and the same secret with different value in "dev". This allows an action to simply deploy using the same secret name all the time, and the set environment decides the value (and if it's allowed to be used).

This becomes especially important when the number of environments grows. With environment secrets, the workflow code stays the same, but without, the code has to be modified and grown each time a new environment is added.

very interesting functionality

๐ŸŽ‰ This issue has been resolved in version 1.7.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€