Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 143 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
# =============================================================================
# Label Taxonomy for microsoft/security-devops-action
# =============================================================================
# Synced by .github/workflows/sync-labels.yml using micnncim/action-label-syncer
#
# Naming convention: <group>:<value> (lowercase, kebab-case)
# Color convention: consistent within each group for at-a-glance filtering
#
# To propose changes, edit this file and open a PR.
# =============================================================================

# ---------------------------------------------------------------------------
# Type — what kind of issue / PR
# ---------------------------------------------------------------------------
- name: "type:bug"
description: "Something isn't working"
color: "d73a4a"

- name: "type:feature"
description: "New feature or request"
color: "a2eeef"

- name: "type:docs"
description: "Improvements or additions to documentation"
color: "0075ca"

- name: "type:question"
description: "General question or support request"
color: "d876e3"

- name: "type:security"
description: "Security vulnerability or hardening"
color: "e11d48"

- name: "type:maintenance"
description: "Dependency updates, refactoring, chores"
color: "bfd4f2"

# ---------------------------------------------------------------------------
# Priority — how urgent
# ---------------------------------------------------------------------------
- name: "priority:critical"
description: "Blocking issue, needs immediate fix"
color: "b60205"

- name: "priority:high"
description: "Important, should be addressed soon"
color: "d93f0b"

- name: "priority:medium"
description: "Normal priority"
color: "fbca04"

- name: "priority:low"
description: "Nice to have, address when convenient"
color: "0e8a16"

# ---------------------------------------------------------------------------
# Status — where in the workflow
# ---------------------------------------------------------------------------
- name: "status:triage"
description: "Needs initial triage and classification"
color: "f9d0c4"

- name: "status:waiting-on-author"
description: "Waiting for more information from author"
color: "f9d0c4"

- name: "status:repro-needed"
description: "Bug needs reproduction steps"
color: "f9d0c4"

- name: "status:team-review"
description: "Queued for team review and decision"
color: "d93f0b"

- name: "status:approved"
description: "Accepted, ready to be worked on"
color: "0e8a16"

- name: "status:blocked"
description: "Blocked by external dependency or decision"
color: "b60205"

- name: "status:inactive"
description: "No activity for an extended period"
color: "cfd3d7"

# ---------------------------------------------------------------------------
# Area — what component
# ---------------------------------------------------------------------------
- name: "area:action"
description: "GitHub Action definition, inputs, and outputs"
color: "c5def5"

- name: "area:msdo-cli"
description: "MSDO CLI integration and execution"
color: "c5def5"

- name: "area:container-mapping"
description: "Container image mapping functionality"
color: "c5def5"

- name: "area:ci"
description: "CI/CD pipeline and workflows"
color: "c5def5"

# ---------------------------------------------------------------------------
# Resolution — how it was closed
# ---------------------------------------------------------------------------
- name: "resolution:duplicate"
description: "This issue or pull request already exists"
color: "cfd3d7"

- name: "resolution:wontfix"
description: "This will not be worked on"
color: "eeeeee"

- name: "resolution:invalid"
description: "Not a valid issue"
color: "e4e669"

- name: "resolution:by-design"
description: "Working as intended"
color: "cfd3d7"

# ---------------------------------------------------------------------------
# Community
# ---------------------------------------------------------------------------
- name: "good first issue"
description: "Good for newcomers"
color: "7057ff"

- name: "help wanted"
description: "Extra attention is needed"
color: "008672"

# ---------------------------------------------------------------------------
# Special
# ---------------------------------------------------------------------------
- name: "agentic-workflows"
description: "Related to GitHub Agentic Workflows"
color: "1d76db"
8 changes: 4 additions & 4 deletions .github/workflows/msdo-issue-assistant.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions .github/workflows/msdo-issue-assistant.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ safe-outputs:
add-comment:
max: 4
add-labels:
allowed: [bug, feature, enhancement, documentation, question, needs-info, needs-maintainer]
allowed: ["type:bug", "type:feature", "type:docs", "type:question", "type:security", "type:maintenance", "status:triage", "status:waiting-on-author", "status:repro-needed", "status:team-review"]

---

Expand Down Expand Up @@ -77,20 +77,20 @@ When a new issue is opened or a user comments:
**If the wiki answers the question:**
- Provide the solution directly from wiki knowledge
- Include relevant wiki links
- Add appropriate label (bug, feature, documentation, question)
- Add appropriate label (`type:bug`, `type:feature`, `type:docs`, `type:question`)

**If more information is needed:**
- Ask for specific details (max 3-4 items):
- MSDO version
- Operating system and runner type
- Error message or logs
- Workflow YAML configuration
- Add the `needs-info` label
- Add the `status:waiting-on-author` label

**If the issue requires maintainer attention:**
- Summarize what you understand about the issue
- Explain why a maintainer needs to look at it
- Add the `needs-maintainer` label
- Add the `status:team-review` label

### Step 3: Format Your Response

Expand All @@ -113,7 +113,7 @@ Keep responses:
- The issue is closed
- The commenter is not the issue author (unless it's a new issue)
- You've already responded twice and there is no new technical information in the latest user message
- The issue has a `needs-maintainer` label (a maintainer is handling it)
- The issue has a `status:team-review` label (a maintainer is handling it)
5. **Be honest** - if you don't know something, say so and suggest checking the wiki or waiting for a maintainer

## Response Examples
Expand All @@ -129,7 +129,7 @@ Keep responses:
**Off-topic issue:** "How do I set up GitHub Actions for deploying to AWS?"
→ Do not respond. This is unrelated to MSDO.

**Issue labeled `needs-maintainer`:** Any issue with this label.
**Issue labeled `status:team-review`:** Any issue with this label.
→ Do not respond. A maintainer is already handling it.

**Repeated comments with no new info:** User says "Any update?" or "bump" after you already responded.
Expand Down
Loading