Skip to content

fix: restrict community submission workflows to labeled event only#2741

Merged
mnriem merged 1 commit into
github:mainfrom
mnriem:fix/2739-community-workflow-triggers
May 28, 2026
Merged

fix: restrict community submission workflows to labeled event only#2741
mnriem merged 1 commit into
github:mainfrom
mnriem:fix/2739-community-workflow-triggers

Conversation

@mnriem
Copy link
Copy Markdown
Collaborator

@mnriem mnriem commented May 28, 2026

Problem

Both add-community-preset and add-community-extension workflows triggered on issues: [opened, edited, labeled] events. This caused them to fire on every new issue and post noisy bot comments explaining the issue wasn't a submission.

Fix

  • Narrow the trigger from [opened, edited, labeled] to [labeled] only — the workflow now only fires when a maintainer adds a label
  • Update prompt instructions to stop silently on non-matching issues instead of posting a comment

This means a maintainer must apply the preset-submission or extension-submission label for the respective workflow to run, which is the intended gate.

Both add-community-preset and add-community-extension workflows previously
triggered on issues opened, edited, and labeled events. This caused them to
fire on every new issue and post noisy bot comments explaining the issue
wasn't a submission (see github#2739).

Changes:
- Narrow trigger from [opened, edited, labeled] to [labeled] only
- Update prompt instructions to stop silently on non-matching issues
  instead of posting a comment
Copilot AI review requested due to automatic review settings May 28, 2026 19:18
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@mnriem mnriem merged commit 3f096ff into github:main May 28, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants