Add pitch surfacing workflow for top community issues#12
Merged
Conversation
Reusable workflow that runs monthly, queries open issues sorted by community engagement (reactions), and applies the 'pitch' label to the top N issues (default 30) while respecting a cap so there are never more than N pitched issues at a time. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use --repo, --state, --sort, --order flags instead of inline search query syntax. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a reusable GitHub Actions workflow to periodically “surface” high-engagement community issues by applying a pitch label, plus an example scheduled usage entry.
Changes:
- Added reusable workflow
pitch-surface-top-issues.ymlto label top open issues up to a configurable cap. - Updated the example scheduled tasks workflow to run the pitch surfacing job monthly.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| example-usage/triage-scheduled-tasks.yml | Adds a monthly cron entry and job invoking the new reusable pitch surfacing workflow. |
| .github/workflows/pitch-surface-top-issues.yml | Implements GH CLI logic to compute remaining “pitch” slots and label top-engagement issues. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Quote label names in search query to handle labels with spaces - Add --limit to issue count query to avoid undercounting - Update comment to say interactions (reactions + comments) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
gh search issues doesn't reliably handle -label: negation in the query arg. Use gh api search/issues directly which properly handles quoted label names with spaces. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add pitch surfacing workflow for top community issues
Adds a reusable workflow that automatically surfaces the most-engaged open issues by applying the
pitchlabel, for use in our monthly pitch review meetings.Acceptance Criteria
workflow_callworkflow is available at.github/workflows/pitch-surface-top-issues.ymlpitchlabel to the top N candidatespitchlabel are excluded from search resultsexclude_labelsare excluded from search results, including labels with spaces (e.g. "help wanted")pitch_label(default: "pitch"),max_pitched(default: 30),exclude_labels(default: none)triage-scheduled-tasks.ymlis updated with a monthly cron trigger (0 14 1 * *) and a schedule guardTesting
Validated in tidy-dev/playground with the following scenarios:
interactionssort ✅max_pitchedcap and only fills available slots ✅