actions-marketplace-validations/Label Sync
An action that allows you to sync labels from a repository or a config file
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT), needed to edit the labels in this repo | no | ${{ github.token }} |
| config-file | The path(s) (and/or URL(s)) to the JSON or YAML file containing the label config (more info in the README) | no | — |
| source-repo | The repo to copy labels from (if not using a config file), in the 'owner/repo' format | no | — |
| request-token | The token to use in the 'Authorization' header (if 'config-file' is being used) or to access the repo (if a private 'source-repo' is being used) | no | — |
| delete-other-labels | Whether to delete any other label (useful when setting up a new repo, dangerous when editing an existing one) | no | false |
| dry-run | Whether to only display the changes, without making them (useful if you're worried you're going to mess up) | no | false |
Outputs
no outputs