A .github/labels.yml file containing this repository's labels
An .appends/.github/labels.yml file, which contains all the repository-specific labels currently used in this repo.
A .github/workflows/sync-labels.yml workflow to automatically synchronize this repository's labels
With this setup, the labels that can be used in this repo are all defined in a single file: the .github/labels.yml file. The sync-labels.yml workflow automatically runs whenever this file changes, and will update the repository's label to match the labels defined in the .github/labels.yml file. Note that is will remove any labels not in the .github/labels.yml file, so be careful with removing labels from the .github/labels.yml file.
The .github/labels.yml file is auto-generated by concatenating these two files:
The repo-specific labels defined in .appends/.github/labels.yml
Whenever one of these two files change, a pull request is automatically submitted to update the .github/labels.yml file. Merging that pull request will then trigger the sync-labels workflow, and the labels will be updated.
With this setup, we are able to guarantee that each repository can use both the Exercism-wide labels and any track-specific labels.
This PR adds:
.github/labels.yml
file containing this repository's labels.appends/.github/labels.yml
file, which contains all the repository-specific labels currently used in this repo..github/workflows/sync-labels.yml
workflow to automatically synchronize this repository's labelsWith this setup, the labels that can be used in this repo are all defined in a single file: the
.github/labels.yml
file. Thesync-labels.yml
workflow automatically runs whenever this file changes, and will update the repository's label to match the labels defined in the.github/labels.yml
file. Note that is will remove any labels not in the.github/labels.yml
file, so be careful with removing labels from the.github/labels.yml
file.The
.github/labels.yml
file is auto-generated by concatenating these two files:.appends/.github/labels.yml
Whenever one of these two files change, a pull request is automatically submitted to update the
.github/labels.yml
file. Merging that pull request will then trigger the sync-labels workflow, and the labels will be updated.With this setup, we are able to guarantee that each repository can use both the Exercism-wide labels and any track-specific labels.
Tracking
https://github.com/exercism/v3-launch/issues/41