ncalteen/Branch Enforcement
Enforce the order branches can be merged.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| policy | A comma-separated list of branches in the order they can be merged. Each line should contain the name of the branch and the name of the branch it can be merged into separated by a colon. For example, `dev:main` would indicate that the `dev` branch can be merged into the `main` branch. Use `*` to indicate any branch. For example, `*:dev` would indicate that any branch can be merged into the `dev` branch. | yes | .:dev dev:qa qa:main |
| head_ref | The name of the branch being merged. | yes | — |
| base_ref | The name of the branch being merged into. | yes | main |
Outputs
no outputs