Setup Labeler

Create or update repository label metadata from the shared CI config.

Usage

jobs:
  setup-labels:
    uses: athackst/ci/.github/workflows/setup_labeler.yml@main
    secrets:
      token: $

Secrets

Name Description Required
token Token used to create and update repository labels. No

Outputs

Name Description
created-labels Comma-separated labels created.
updated-labels Comma-separated labels updated.
unchanged-labels Comma-separated labels already matching desired metadata.
skipped-labels Comma-separated labels skipped because required metadata was missing.

Permissions

  • Requires issues: write to create and update repository labels.
  • Uses contents: read to check out the shared config.

Advanced

  • Always reads .github/ci-config.yml.
  • Delegates label metadata updates to the setup-labels composite action.
  • Writes a final workflow summary with created, updated, unchanged, and skipped labels.