kylejameswalker/PR Changes Matrix Builder
Builds a dynamic matrix based on PR changes
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | The GitHub token to use for authentication | — | ${{ github.token }} |
| repo | The repository to use for the matrix | — | ${{ github.event.repository.full_name }} |
| pr_number | The PR number to use for the matrix | — | ${{ github.event.number }} |
| default_params | Default parameters merged into every matrix entry | — | {} |
| inject_primary_key | Extracted regex group used as a lookup key into inject_params | — | "" |
| inject_params | Per-entry parameter overrides keyed by inject_primary_key value | — | {} |
| extract_re | Python regex with named groups to extract from each changed file path | — | (?P<project_name>.*)/.* |
| paths_include | JSON array of glob patterns — only matching files are considered | — | null |
| paths_ignore | JSON array of glob patterns — matching files are excluded | — | null |
Outputs
| name | description |
|---|---|
| matrix | JSON array of matrix entries |
| matrix-populated | 'true' if matrix contains entries, 'false' if empty |