dustindortch/Release Flow Strategy Matrix
Builds a strategy matrix based on GitHub Actions environments filtered by those that align with a release.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| app-id | GitHub App "app id" with 'read' permissions for "Environments" and "Variables". Safe to store as repository "variable". | yes | — |
| private-key | GitHub App "private key" associated with "app id". Safe to store as repository "secret". | yes | — |
| filter-on | Environment variable to filter on. Defaults to "RELEASE". Safe to store as repository "variable". | no | RELEASE |
| filter-by | Value to filter environment variable by. Defaults to 'github.ref_name'. | no | ${{ github.ref_name }} |
Outputs
| name | description |
|---|---|
| matrix | Strategy matrix listing all environments matching "filter-on" and "filter-by". Use in subsequent job as `fromJson(needs.<job_name>.outputs.matrix' and within 'environment' as 'matrix.environment'. |