💫 Toolkit to help you get started with SDD or any other process!
Remove auto-assign from catalog submission workflow (#4054)
Manfred Riem6461f094838c
diff --git a/.github/workflows/catalog-assign.yml b/.github/workflows/catalog-assign.ymlindex 9655394b0..60f7b8179 100644--- a/.github/workflows/catalog-assign.yml+++ b/.github/workflows/catalog-assign.yml@@ -1,11 +1,11 @@-name: "Catalog: Auto-assign submission"+name: "Catalog: Notify submission"on:issues:types: [opened, labeled]jobs:- assign:+ notify:if: >(github.event.action == 'opened' && (contains(github.event.issue.labels.*.name, 'extension-submission') ||@@ -24,24 +24,8 @@ jobs:- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9with:script: |- const issue = context.payload.issue;- const assigned = (issue.assignees || []).map(a => a.login);const marker = '<!-- catalog-assign-bot -->';- // Assign mnriem if not already assigned- if (!assigned.includes('mnriem')) {- try {- await github.rest.issues.addAssignees({- owner: context.repo.owner,- repo: context.repo.repo,- issue_number: context.issue.number,- assignees: ['mnriem'],- });- } catch (e) {- console.log(`Warning: could not assign mnriem: ${e.message}`);- }- }-// Post team notification if not already postedconst comments = await github.paginate(github.rest.issues.listComments,