marian13/Ensure Source Branch Contains Destination Branch
Verifies that the source branch contains all commits from the destination branch (e.g., main), preventing out-of-date merges.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source-branch | The branch to check (defaults to the branch that triggered the workflow). | no | — |
| destination-branch | The branch that must be contained in the source branch (defaults to the repo default branch). | no | — |
| token | GitHub token used to call the SHA API and the Compare API. | no | ${{ github.token }} |
| tag | Tag prepended to log messages (e.g., "[some-tag] message"). Set to '' to log without a tag. | no | ensure-source-branch-contains-destination-branch |
Outputs
| name | description |
|---|---|
| status | Result of the branch comparison (sameBranch, ahead, identical, behind, diverged, shaApiError, compareApiError, unknownStatus, unexpectedException). |