wreality/filtered-env
Fetch GitHub environments and read `TAG_REGEX` variable on each. Output environments that match the regular expression.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tags | Tags (usually from docker metadata action) | yes | — |
| token | GitHub token with repository read permissions | yes | — |
| environment_variable | GitHub environment variable that contains the regular expression to match | no | TAG_REGEX |
| environments | Comma separated list of environments to match against (fetched from API if not provided) | no | — |
| include_no_regex | Include environments in output that do not have a regular expression variable | no | false |
Outputs
| name | description |
|---|---|
| environments | JSON srtring of environments that match the regular expression |