The sync labels workflow synchronizes a repository's GitHub labels with the contents of the .github/labels.yml
file.
Whenever the .github/labels.yml
file changes, the sync labels workflow will automatically update the repository's labels.
The labels defined in .github/labels.yml
come in two forms:
.appends/.github/labels.yml
fileTo add track-specific labels, you'll need to add them to the .appends/.github/labels.yml
file (see this example).
Once you've merged the changes to main
, a pull request will automatically be opened to change the .github/labels.yml
file.
After merging that PR, the labels will be automatically updated (see description above).
Never manually edit the .github/labels.yml
file, as those changes will be overwritten the next time labels are synced.
The workflow is defined in the .github/workflows/sync-labels.yml
file.