iamtheyammer/Branch-based environment variables that rock
An easy way to set envronment variables based on the building branch. Check out the full README for instructions.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 19, 2026
- License
- MIT
Pinned Snippet
uses: iamtheyammer/branch-env-vars@9bfe03f4cb49752366ccef1617254b920aeebf0d # v1.3.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| bevOverwrite | Overwrite other, already-set environment variables with the same name | no | true |
| bevActionOnNoRef | What to do when there is no GITHUB_REF: 'error' (fail the build), 'warn' (print a warning but pass), 'continue' (pass and continue silently) | no | warn |
| bevSetEmptyVars | Whether to set an environment variable to an empty string if no value is provided | no | true |
Outputs
no outputs