Update label logic#2126
Merged
Merged
Conversation
Contributor
riaankleinhans
commented
Apr 21, 2026
- 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>
Contributor
There was a problem hiding this comment.
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-assessmentlabel and included it in/dd/triagecommand rules. - Renamed the TAG label in the ruleset from
tag/security-compliancetotag/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.
Signed-off-by: Riaan Kleinhans <riaankleinhans@gmail.com>
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>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.