Skip to content

Adding a new /rerun-intake command for when updates are required#1786

Open
aaronpowell wants to merge 5 commits into
stagedfrom
re-review-external-plugin-workflow
Open

Adding a new /rerun-intake command for when updates are required#1786
aaronpowell wants to merge 5 commits into
stagedfrom
re-review-external-plugin-workflow

Conversation

@aaronpowell
Copy link
Copy Markdown
Contributor

Reruns the intake process if feedback is given that will require the submitter to update something about the submittion.

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, or workflow file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, or workflow with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the staged branch for this pull request.

Description


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • Update to existing instruction, prompt, agent, plugin, skill, or workflow.
  • Other (please specify):

Additional Notes


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

Reruns the intake process if feedback is given that will require the submitter to update something about the submittion.
Copilot AI review requested due to automatic review settings May 21, 2026 04:30
@github-actions github-actions Bot added new-submission PR adds at least one new contribution workflow PR touches workflow automation labels May 21, 2026
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.

Pull request overview

Adds a /rerun-intake issue-comment command to re-run external plugin intake validation (including for closed/rejected submissions), and refactors intake label/comment synchronization into a shared module used by workflows.

Changes:

  • Introduces /rerun-intake parsing plus shared constants for intake markers/command.
  • Adds eng/external-plugin-intake-state.mjs to centralize label syncing + “upsert intake comment” behavior, and updates the intake workflow to use it.
  • Adds a new workflow to handle /rerun-intake, and updates docs to reflect the updated resubmission flow.
Show a summary per file
File Description
eng/external-plugin-intake.mjs Exports intake markers/command and adds /rerun-intake parser; updates intake failure messaging.
eng/external-plugin-intake-state.mjs New shared helpers to ensure labels, sync managed labels, and upsert the intake comment.
.github/workflows/external-plugin-rerun-intake-command.yml New workflow to authorize and process /rerun-intake comments (author or maintainer).
.github/workflows/external-plugin-intake.yml Adds concurrency and refactors label/comment syncing to shared intake-state module.
.github/workflows/external-plugin-approval-command.yml Updates messaging to reference /rerun-intake as the way to re-queue intake.
CONTRIBUTING.md Documents the new “request another intake pass” step and updated rejection guidance.
AGENTS.md Updates external plugin workflow notes to include /rerun-intake.

Copilot's findings

  • Files reviewed: 7/7 changed files
  • Comments generated: 4

Comment thread eng/external-plugin-intake-state.mjs
Comment thread .github/workflows/external-plugin-rerun-intake-command.yml Outdated
Comment thread eng/external-plugin-intake.mjs
Comment thread .github/workflows/external-plugin-intake.yml Outdated
aaronpowell and others added 3 commits May 21, 2026 15:49
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
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's findings

  • Files reviewed: 7/7 changed files
  • Comments generated: 2

runs-on: ubuntu-latest
if: >-
!github.event.issue.pull_request &&
startsWith(github.event.comment.body, '/rerun-intake')
Comment on lines +105 to +110
const { data: comments } = await github.rest.issues.listComments({
owner,
repo,
issue_number: issueNumber,
per_page: 100,
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-submission PR adds at least one new contribution workflow PR touches workflow automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants