actions-marketplace-validations/Check for synced branches action

An action to easily check if 2 branches are up to date

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Dec 8, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/madladsquad_check-for-synced-branches-action@3495a4a4fdc26eceef2704e892fa9024e910eb65 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
upstream-urlThe URL to the upstream repository if the second branch is from another repono
both-upstreamA boolean to check if both branches are upstreamnofalse
first-branchThe name of the first branch in the comparisonyesmaster
second-branchThe name of the second branch to compareyes
namedescription
aheadThe number of changes the first branch is ahead of the second
behindThe number of changes the first branch is behind the second