Skip to content

Commit 2dd1ca4

Browse files
mnriemCopilot
andauthored
fix: align community submission workflows with bug-assess label trigger (#3046)
The add-community-extension and add-community-preset agentic workflows never ran for real submissions. Their issue templates auto-applied the `extension-submission`/`preset-submission` label at creation, which lands in the `opened` event (not `labeled`), and the external submitter fails the team-membership activation gate. Align both with the working bug-assess pattern: - Add `names: [extension-submission]` / `[preset-submission]` so a job-level condition gates activation on the specific label. - Add `github: min-integrity: none` to allow reading external user issues. - Remove the trigger label from the issue-template auto-labels so a maintainer applies it during triage — emitting a real `labeled` event from a team member, which passes activation. - Recompile lock files with gh aw v0.79.8. Co-authored-by: Manfred Riem <mnriem@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ee8b358 commit 2dd1ca4

6 files changed

Lines changed: 558 additions & 252 deletions

File tree

.github/ISSUE_TEMPLATE/extension_submission.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Extension Submission
22
description: Submit your extension to the Spec Kit catalog
33
title: "[Extension]: Add "
4-
labels: ["extension-submission", "enhancement", "needs-triage"]
4+
labels: ["enhancement", "needs-triage"]
55
body:
66
- type: markdown
77
attributes:

.github/ISSUE_TEMPLATE/preset_submission.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Preset Submission
22
description: Submit your preset to the Spec Kit preset catalog
33
title: "[Preset]: Add "
4-
labels: ["preset-submission", "enhancement", "needs-triage"]
4+
labels: ["enhancement", "needs-triage"]
55
body:
66
- type: markdown
77
attributes:

.github/workflows/add-community-extension.lock.yml

Lines changed: 272 additions & 123 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/add-community-extension.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ emoji: "🧩"
55
on:
66
issues:
77
types: [labeled]
8+
names: [extension-submission]
89
skip-bots: [github-actions, copilot, dependabot]
910

1011
tools:
1112
edit:
1213
bash: ["echo", "cat", "head", "tail", "grep", "wc", "sort", "python3", "jq", "date"]
1314
github:
1415
toolsets: [issues, repos]
16+
min-integrity: none
1517
web-fetch:
1618

1719
permissions:
@@ -49,8 +51,10 @@ or update entries in the community extension catalog.
4951

5052
## Triggering Conditions
5153

52-
This workflow only triggers when the `extension-submission` label is added to an
53-
issue. Before processing, verify that the issue title starts with `[Extension]:`.
54+
This workflow is triggered by any `issues: labeled` event, but a job-level
55+
condition gates the agent run so it only proceeds when the label that was just
56+
added is `extension-submission`. By the time you run, that condition has already
57+
passed. Before processing, verify that the issue title starts with `[Extension]:`.
5458
If it does not, stop without commenting.
5559

5660
## Step 1 — Read and Parse the Issue

0 commit comments

Comments
 (0)