Skip to content

Update label logic#2126

Merged
riaankleinhans merged 2 commits into
mainfrom
add-label-tooling
Apr 21, 2026
Merged

Update label logic#2126
riaankleinhans merged 2 commits into
mainfrom
add-label-tooling

Conversation

@riaankleinhans
Copy link
Copy Markdown
Contributor

  • Introduced 'dd/triage/needs-security-assessment' label with a description for security assessment requirements.
  • Updated 'tag/security-compliance' to 'tag/security-and-compliance' in ruleset.
  • Added temporary debug step in labeler workflow to log event context details.
  • Changed reference from comment body to issue body in labeler workflow.

Signed-off-by: Riaan Kleinhans <riaankleinhans@gmail.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s labeling automation by introducing a new DD triage label, aligning TAG label naming, and refining the GitHub Actions workflows that apply labels (both automatic and slash-command driven).

Changes:

  • Added dd/triage/needs-security-assessment label and included it in /dd/triage command rules.
  • Renamed the TAG label in the ruleset from tag/security-compliance to tag/security-and-compliance.
  • Split slash-command handling into a dedicated workflow and adjusted labeler workflow to use issue/PR body instead of comment body; added temporary debug logging.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/slash-commands.yaml New workflow to dispatch and process slash commands via repository_dispatch and apply labels through the labeler action.
.github/workflows/labeler.yaml Removes issue_comment trigger; adds debug logging; switches labeler input from comment body to issue body for issues.
.github/labels.yaml Adds new DD triage label and updates TAG ruleset label name.
.github/README_Labelling.md New documentation describing slash commands and automatic labeling behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/slash-commands.yaml Outdated
Comment thread .github/workflows/labeler.yaml
Signed-off-by: Riaan Kleinhans <riaankleinhans@gmail.com>
@riaankleinhans riaankleinhans merged commit c83ff62 into main Apr 21, 2026
1 check passed
@krook krook deleted the add-label-tooling branch April 21, 2026 13:45
stackedsax pushed a commit to stackedsax/toc that referenced this pull request May 24, 2026
* Update label logic

Signed-off-by: Riaan Kleinhans <riaankleinhans@gmail.com>

* Debug logging now keeps only safe metadata

Signed-off-by: Riaan Kleinhans <riaankleinhans@gmail.com>

---------

Signed-off-by: Riaan Kleinhans <riaankleinhans@gmail.com>
Signed-off-by: stackedsax <alex.scammon@gresearch.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants