This repo hosts automated discussion labeling logic for community/community built with GitHub Agentic Workflows.
| Workflow | What it does | Trigger |
|---|---|---|
auto-labelling.md |
Labels discussions using the instruction file | daily, workflow_dispatch |
labelling-correction-feedback.md |
Detects trusted staff label corrections and proposes instruction updates | repository_dispatch |
| Secret | Workflows | Permissions needed |
|---|---|---|
COPILOT_GITHUB_TOKEN |
All | Copilot CLI auth |
READ_COMM_COMM_DISCUSSIONS_TOKEN |
auto-labelling |
Discussions (read), Contents (read) on the target-repo |
WRITE_TO_COMM_OPS_TOKEN |
auto-labelling, labelling-correction-feedback |
Issues (write) on this sidecar repo |
COMMUNITY_OPS_DISPATCH_TOKEN |
labelling-correction-feedback |
Repository dispatch trigger on the target-repo |
Edits to the instruction file alone do not require recompilation.
Only use the compile command if you are making changes to the actual workflow files (e.g. auto-labelling.md, labelling-correction-feedback.md):
gh aw compile <workflow-name> # e.g. auto-labelling, labelling-correction-feedback- Set the secrets above in this repo and the target repo.
- Navigate to the workflow in the GitHub Actions tab and trigger a
workflow_dispatchfor each workflow once. - Watch the first week of scheduled runs before tuning thresholds or prompts.