Last active
July 17, 2025 18:25
-
-
Save mrbobbytables/8d1e3842be3ae1f66dadf802ff769bcb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoCreateLabels: true | |
autoDeleteLabels: false | |
# Define labels, description, color | |
# Support ‘previous’ for label changes over time / changes in ownership | |
# Apply/remove label based on condition and/or slash command | |
# Apply labels based on file path | |
# Treat labels as namespaced based on “path” (slash separated) | |
labels: | |
- name: dd/adopters/complete | |
description: DD Adopter Interviews have been completed | |
color: 41cd40 | |
- name: dd/adopters/not-started | |
description: Adopter interviews have not yet been started | |
color: d93f0b | |
- name: dd/adopters/in-progress | |
description: DD Adopter Interviews are in progress | |
color: 61D6C3 | |
- name: dd/complete | |
description: DD has been completed | |
color: 41cd40 | |
- name: dd/in-comment-period | |
description: DD is in the public comment period | |
color: 0052cc | |
- name: dd/in-progress | |
description: DD is in progress | |
color: 61D6C3 | |
- name: dd/in-voting | |
description: DD is currently in voting | |
color: 74a0f4 | |
- name: dd/ready-for-assignment | |
description: DD Prerequisites complete; ready to be assigned to a TOC member. | |
color: fbca04 | |
- name: dd/waiting | |
description: DD has been paused and will pick up at a later date | |
color: d93f01 | |
- name: dd/triage/needs-adopters | |
description: Additional adopters needed for DD application to be marked ready. | |
color: b60205 | |
- name: dd/triage/incomplete-application | |
description: Application incomplete; must be completed for application to be marked ready | |
color: b60205 | |
- name: dd/gov-review/not-started | |
description: Governance Review has not yet been started | |
color: d93f0b | |
- name: dd/gov-review/in-progress | |
description: DD Governance Review is in progress | |
color: 61D6C3 | |
- name: dd/gov-review/complete | |
description: DD Governance Review has been completed | |
color: 41cd40 | |
- name: dd/sec-review/not-started | |
description: Security Review has not yet been started | |
color: d93f0b | |
- name: dd/sec-review/in-progress | |
description: DD Security Review is in progress | |
color: 61D6C3 | |
- name: dd/sec-review/complete | |
description: DD Security Review has been completed | |
color: 41cd40 | |
- name: dd/tech-review/not-started | |
description: Tech Review has not yet been started | |
color: d93f0b | |
- name: dd/tech-review/in-progress | |
description: DD Tech Review is in progress | |
color: 61D6C3 | |
- name: dd/tech-review/complete | |
description: DD Tech Review has been completed | |
color: 41cd40 | |
- name: dd/needs-triage | |
description: DD application has not been reviewed | |
color: ededed | |
- name: kind/dd | |
description: Project DD or item related to the DD process | |
color: 61D6C3 | |
- name: kind/initiative | |
description: An initiative or an item related to imitative processes | |
color: 61D6C3 | |
- name: kind/docs | |
description: Docs related changes or updates | |
color: 61D6C3 | |
- name: kind/meeting | |
description: Item related to a meeting | |
color: 61D6C3 | |
- name: kind/enhancement | |
description: General items related to enhancements or improvements. | |
color: 61D6C3 | |
- name: kind/subproject | |
description: Item related to a subproject or subproject related process | |
color: 61D6C3 | |
- name: level/graduation | |
description: Item related to a graduation level project or the graduation criteria/process itself | |
color: 0052cc | |
- name: level/archived | |
description: Item related to an archived level project or the archive criteria/process itself | |
color: d93f0b | |
- name: level/incubation | |
description: Item related to an incubation level project or the incubation criteria/process itself | |
color: ed0e81 | |
- name: level/sandbox | |
description: Item related to a sandbox level project or the sandbox criteria/process itself | |
color: e884e1 | |
- name: init/not-started | |
description: Initiative has been accepted, but not started (in the backlog) | |
color: d93f0b | |
- name: init/in-progress | |
description: Initiative is in progress and actively being worked on | |
color: 61D6C3 | |
- name: init/complete | |
description: Initiative has been completed | |
color: 41cd40 | |
- name: init/stale | |
description: Initiative is no longer actively being worked on | |
color: b60205 | |
- name: triage/needs-information | |
description: Needs additional information provided before it can be worked on | |
color: b60205 | |
- name: triage/duplicate | |
description: Duplicate issue or PR, can be closed | |
color: ebf84a | |
- name: triage/not-planned | |
description: Out of scope, or not planned to be worked on | |
color: d93f0b | |
- name: triage/valid | |
description: Issue or PR is valid with enough information to be actionable | |
color: 0e8a16 | |
- name: help wanted | |
description: '' | |
color: '159818' | |
- name: review/governance | |
description: Project Governance Review | |
color: '5319e7' | |
- name: review/health | |
description: Project Health Review | |
color: '5319e7' | |
- name: review/security | |
description: Project Security Review | |
color: '5319e7' | |
- name: review/tech | |
description: Project Tech Review | |
color: '5319e7' | |
- name: sub/contributor-strategy-and-advocacy | |
description: TOC Contributor Strategy and Advocacy SubProject | |
color: 924F23 | |
- name: sub/project-review | |
description: TOC Project Review Subproject | |
color: '3E4469' | |
- name: sub/mentoring | |
description: TOC Mentoring Subproject | |
color: 6DCC2C | |
- name: toc/initiative/AI | |
description: TOC Artificial Intelligence Initiative | |
color: d4c5f9 | |
- name: toc | |
description: toc specific issue | |
color: CF0CBE | |
- name: gitvote | |
description: '' | |
color: ededed | |
- name: gitvote/closed | |
description: '' | |
color: ededed | |
- name: gitvote/passed | |
description: '' | |
color: ededed | |
- name: vote open | |
description: '' | |
color: ededed | |
- name: vote/open | |
description: An election is open | |
color: 0e8a16 | |
- name: vote/closed | |
description: An election that has been completed | |
color: 5c2908 | |
- name: vote/nomination | |
description: A nomination or call for nominations | |
color: E00EEF | |
- name: tag/developer-experience | |
description: TAG Developer Experience | |
color: c2e0c6 | |
- name: tag/infrastructure | |
description: TAG Infrastructure | |
color: D786DA | |
- name: tag/operational-resilience | |
description: TAG Operational Resilience | |
color: 83075D | |
- name: tag/security-and-compliance | |
description: TAG Security and Compliance | |
color: 78C971 | |
- name: tag/workloads-foundation | |
description: TAG Workloads Foundation | |
color: 6AE2DC | |
# each rule should be evaluated to determine what the labels should look like | |
# and ONLY apply them if there is a difference. This will prevent removal of | |
# labels in between steps (e.g. ensure there is only one namespaced one present) | |
ruleset: | |
- name: apply-tag | |
kind: match | |
spec: | |
command: "/tag" | |
rules: | |
- matchList: # allow any items from this list, not unique | |
values: | |
- tag/developer-experience | |
- tag/infrastructure | |
- tag/operational-resilience | |
- tag/security-compliance | |
- tag/workloads-foundation | |
actions: | |
- kind: remove-label # removes label if present | |
spec: | |
match: needs-group | |
- kind: apply-label | |
label: "tag/{{ argv.0 }}" # to match input from string | |
- name: apply-toc | |
kind: match | |
spec: | |
command: "/toc" | |
rules: | |
- match: "" | |
actions: | |
- kind: remove-label # removes label if present | |
spec: | |
match: needs-group | |
- kind: apply-label | |
label: "toc" | |
# Applies needs-triage label if no triage related label is present | |
# this will account for conditions where a triage label is removed, the | |
# needs-triage label will be reapplied | |
- name: needs-triage | |
kind: label | |
spec: | |
match: "triage/*" | |
matchCondition: NOT | |
actions: | |
- kind: apply-label | |
label: "needs-triage" | |
# Remove needs-triage label when a triage label is applied and ONLY allow | |
# a single triage label | |
- name: triage | |
kind: match # matches string response in issue/pr | |
spec: | |
command: "/triage" | |
rules: | |
- unique: # could also be a generic list with additional commands of in / not in or a regex match | |
ruleCondition: or # this applies to the whole rule, so it could match multiple rules as and/or | |
values: | |
- needs-triage | |
- triage/valid | |
- triage/needs-information | |
- triage/duplicate | |
- triage/not-planned | |
actions: # only executed if passed the rules | |
- kind: remove-label # removes label if present | |
spec: | |
match: needs-triage | |
- kind: remove-label # ensures there is only a single triage label applied | |
spec: | |
match: "triage/*" | |
- kind: apply-label | |
label: "triage/{{ argv.0 }}" # to match input from string | |
- name: charter | |
kind: filePath | |
spec: | |
matchPath: "tags/*/charter.md" | |
actions: | |
- kind: apply-label | |
label: toc | |
- name: tag-foo | |
kind: filePath | |
spec: | |
matchPath: tags/tag-foo/* | |
actions: | |
- kind: apply-label | |
label: tag-foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment