madladsquad/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: madladsquad/check-for-synced-branches-action@b07e056dd2ab84904c6f48154d2c17bb0ca20e57 # v1.0.0.3tags 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 |