Skip to content
Discussion options

You must be logged in to vote

Right now that first commit with the message “Initial plan” is built into how the Copilot Coding Agent works, and you can’t override it through .github/copilot-instructions.md or any other configuration. The agent automatically creates that commit when it starts a new task, and it doesn’t follow your custom commit message rules for that one. All later commits do respect your instructions, but the first one is system-generated. The only real workarounds are either to create the branch and make the initial compliant commit yourself before running the agent, or to adjust your repository rules so that the ticket requirement applies only to subsequent commits or to the pull request title instead.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@RainbowMango
Comment options

Answer selected by nnellanspdl

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Ask and answer questions about GitHub features and usage Copilot Coding Agent Implement a task or issue, run in the background with GitHub Actions, and more
4 participants