actions-marketplace-validations/Label Sync Action

Keeps your labels in sync in a GitHub repo(s) from a config file. Manage all tags from all your repos in a single place.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Sep 27, 2024
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/srealmoreno_label-sync-action@850ba5cef2b25e56c6c420c4feed0319294682fd # no releases — HEAD as of 2026-07-13

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

namedescriptionrequireddefault
tokenToken to use for edit the labels of the reposno${{ github.token }}
config-filePath(s) (and/or URL(s)) to the JSON or YAML file containing the label definitions.no.github/labels.yml
clean-labelsClean labels not defined in the config file from the repo(s).nofalse
repositoriesRepository or List of repositories to sync the labels. (Full name e.g. 'srealmoreno/test-repo') This option cannot be combined with `auto-discover-repos` or its optionsno
auto-discover-reposDiscover the list of repositories automatically. See options below 1.owner 2.account-type 3.exclude-repos 4.exclude-forked-repos 6.exclude-archived-repos 7.exclude-disabled-repos 8.exclude-private-reposnofalse
ownerOption 1 of `auto-discover-repos`. Owner of the repositories to sync the labels.no${{ github.repository_owner }}
account-typeOption 2 of `auto-discover-repos`. Type of account to use to discover the repositories. Can be either `org` or `user`.no${{ github.event.repository.owner.type }}
exclude-reposOption 3 of `auto-discover-repos`. string | string[] | regExp to exclude from the list of repositories to sync the labels. the regex can be RegExp(js) literal notation e.g. /my-repo/g Note. The verification will be done only to the name of the repository excluding the owner and the slash (/) e.g. srealmoreno/my-repo -> my-repono""
exclude-forked-reposOption 4 of `auto-discover-repos`. Exclude forked repositories from the list of repositories to sync the labels.yestrue
exclude-archived-reposOption 6 of `auto-discover-repos`. Exclude archived repositories from the list of repositories to sync the labels.notrue
exclude-disabled-reposOption 7 of `auto-discover-repos`. Exclude disabled repositories from the list of repositories to sync the labels.notrue
exclude-private-reposOption 8 of `auto-discover-repos`. Exclude private repositories from the list of repositories to sync the labels.yestrue

no outputs