github · GitHub Actions Docs
Actions Commenting on an issue when a label is added - GitHub Docs
A tutorial on creating a GitHub Actions workflow that automatically posts a comment to an issue or pull request whenever a specific label is applied.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Actions Commenting on an issue when a label is added - GitHub Docs
A tutorial on creating a GitHub Actions workflow that automatically posts a comment to an issue or pull request whenever a specific label is applied.
When To Use
Use when you need to automate issue management by triggering specific notifications or comments based on label changes in a repository.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-manage-your-work-add-comments-with-labels-commenting-on-an-issue-workflow-guide.md | A GitHub Actions workflow configuration that automatically posts a comment to an issue when a specific label is added. | Questions about a GitHub Actions workflow configuration that automatically posts a comment to an issue when a specific label is added. |
examples/actions-manage-your-work-add-comments-with-labels-commenting-on-an-issue.text | A GitHub Actions workflow YAML configuration that triggers when an issue is labeled and uses the GitHub CLI to post a comment. | Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration that triggers when an issue is labeled and uses the GitHub CLI to post a... |
What This Skill Covers
-
- GitHub Actions / - Tutorials / - Manage your work / - Add comments with labels
- Main sections:
In this article,Introduction,Creating the workflow,Testing the workflow,Next steps.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://docs.github.com/en/actions/tutorials/manage-your-work/add-comments-with-labels
