Skip to content

Commit 6461f09

Browse files
mnriemCopilot
andauthored
Remove auto-assign from catalog submission workflow (#4054)
Catalog submission issues no longer auto-assign mnriem. The workflow now only posts the team notification comment (cc @github/spec-kit-maintainers), since GitHub issues cannot be assigned to a team. Renamed the workflow and job to reflect its notification-only purpose. Assisted-by: GitHub Copilot (model: Claude Opus 4.8, supervised) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 63ae7e23-13e3-4a83-96b3-1178422aaa6e
1 parent fb427e4 commit 6461f09

1 file changed

Lines changed: 2 additions & 18 deletions

File tree

.github/workflows/catalog-assign.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: "Catalog: Auto-assign submission"
1+
name: "Catalog: Notify submission"
22

33
on:
44
issues:
55
types: [opened, labeled]
66

77
jobs:
8-
assign:
8+
notify:
99
if: >
1010
(github.event.action == 'opened' && (
1111
contains(github.event.issue.labels.*.name, 'extension-submission') ||
@@ -24,24 +24,8 @@ jobs:
2424
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
2525
with:
2626
script: |
27-
const issue = context.payload.issue;
28-
const assigned = (issue.assignees || []).map(a => a.login);
2927
const marker = '<!-- catalog-assign-bot -->';
3028
31-
// Assign mnriem if not already assigned
32-
if (!assigned.includes('mnriem')) {
33-
try {
34-
await github.rest.issues.addAssignees({
35-
owner: context.repo.owner,
36-
repo: context.repo.repo,
37-
issue_number: context.issue.number,
38-
assignees: ['mnriem'],
39-
});
40-
} catch (e) {
41-
console.log(`Warning: could not assign mnriem: ${e.message}`);
42-
}
43-
}
44-
4529
// Post team notification if not already posted
4630
const comments = await github.paginate(
4731
github.rest.issues.listComments,

0 commit comments

Comments
 (0)