Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-manage-your-work-add-comments-with-labels-commenting-on-an-issue-workflow-guide.mdA 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.textA 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. 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