iampekka058/branchMatchRegex
Check if the current branch matches a regex/wildcard pattern
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| patterns | The regex/wildcard patterns to match against the branch | no | "" |
| path | The path or URL to the file containing the pattern | no | "" |
| failOnUnmatchedPattern | Fail the action if the branch does not match the pattern | no | true |
| useWildcardPatterns | Use wildcard patterns for branch matching instead of regex | no | false |
| useDefaultPatterns | Use default patterns for branch matching | no | false |
| branch | The branch to match against the pattern | yes | ${{ github.head_ref }} |
Outputs
no outputs