Labeler¶
Apply pull request labels from the shared CI config.
Usage¶
jobs:
pr-labels:
uses: athackst/ci/.github/workflows/labeler.yml@main
secrets:
token: ${{ secrets.CI_BOT_TOKEN }}
Secrets¶
| Name | Description | Required |
|---|---|---|
token |
Token used to resolve config and apply PR labels. | No |
Permissions¶
- Requires
pull-requests: writeto add labels. - Uses
contents: readto resolve the shared config.
Advanced¶
- Resolves
.github/ci-config.ymlfirst and tolerates missing config resolution withcontinue-on-error. - Delegates the actual labeling logic to the
pr-labelercomposite action. - Adds a workflow summary only when labels were actually added.