fem-on-colab/Is synced with upstream?

Determine if a ref in a repository is synced with another ref of an upstream repository

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 23, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: fem-on-colab/is-synced-with-upstream-action@f4d4a7988a560ea8c951d6779274cd230d13879b # v1.0.0

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

namedescriptionrequireddefault
upstream-repositoryName of the upstream repository.yes
upstream-refSource ref name in the upstream repository.yes
target-refTraget ref name in the current repository.yes
file-patternsPatterns that limit which files should be compared and synced.yes
commit-message-prefixPrefix for automatic commit message.yes
push-changesPush any detected changes to a new branch, and return a failure. A non-default value should only be used while testing the action itself.notrue
expect-out-of-syncExpect upstream and target refs to be out of sync, and do not return a failure in such case. A non-default value should only be used while testing the action itself.nofalse
expected-target-rangeIf upstream and target refs are expect to be out of sync, compare the obtained difference with the one in this range. A non-default value should only be used while testing the action itself.no""
tokenToken that enables reading the upstream repository and/or writing to the target repository.no""

no outputs