Exempt GitHub Copilot PRs from issue link requirement#677
Merged
Conversation
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
… workflow Co-authored-by: A1L13N <193832434+A1L13N@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] remove requirement for open issue links for copilot PRs
Exempt GitHub Copilot PRs from issue link requirement
Oct 4, 2025
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.
Description
This PR updates the
enforce-issue-linked-pr.ymlworkflow to exempt PRs created by GitHub Copilot from the requirement of linking to an open issue via the Development section.Problem
GitHub Copilot creates automated PRs using the
copilot-swe-agent[bot]account. These PRs were being automatically closed by the workflow because they don't reference open issues in the Development section, which triggered the error message:This prevented Copilot from autonomously creating and submitting PRs for issue resolution.
Solution
Added
copilot-swe-agent[bot]to theexemptUsersarray in the workflow, following the same pattern already established for the userA1L13N. This allows Copilot PRs to bypass the issue link validation while maintaining the requirement for all other contributors.Changes
.github/workflows/enforce-issue-linked-pr.ymlline 28const exemptUsers = ['A1L13N'];toconst exemptUsers = ['A1L13N', 'copilot-swe-agent[bot]'];Testing
Fixes #674
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.