actions-marketplace-validations/Check for synced branches action
An action to easily check if 2 branches are up to date
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Dec 8, 2025
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/madladsquad_check-for-synced-branches-action@3495a4a4fdc26eceef2704e892fa9024e910eb65 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| upstream-url | The URL to the upstream repository if the second branch is from another repo | no | — |
| both-upstream | A boolean to check if both branches are upstream | no | false |
| first-branch | The name of the first branch in the comparison | yes | master |
| second-branch | The name of the second branch to compare | yes | — |
Outputs
| name | description |
|---|---|
| ahead | The number of changes the first branch is ahead of the second |
| behind | The number of changes the first branch is behind the second |