-
Notifications
You must be signed in to change notification settings - Fork 65.7k
Update workflow triggers for Copilot setup #42380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Remove pull_request trigger for copilot-setup-steps workflow.
How to review these changes 👓Thank you for your contribution. To review these changes, choose one of the following options: A Hubber will need to deploy your changes internally to review. Table of review linksNote: Please update the URL for your staging server or codespace. The table shows the files in the
Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server 🤖 This comment is automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request updates the workflow trigger configuration in the documentation for the copilot-setup-steps.yml workflow. The change removes the pull_request trigger, so the workflow will now only execute on push events to the workflow file itself and via manual workflow_dispatch.
Changes:
- Removed
pull_requesttrigger configuration from the copilot-setup-steps workflow example
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| push: | ||
| paths: | ||
| - .github/workflows/copilot-setup-steps.yml |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment on line 51 states "Automatically run the setup steps when they are changed to allow for easy validation" but with the removal of the pull_request trigger, validation will only happen after the changes are pushed to the branch (typically after merge), not during the pull request review process. Consider updating this comment to reflect that validation occurs on push events rather than during pull request review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``
| push: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| push: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml |
zubairkhan1233
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Submitted my application for
Remove pull_request trigger for copilot-setup-steps workflow.
Why:
Closes: #42379
What's being changed (if available, include any code snippets, screenshots, or gifs):
This pull request makes a small change to the workflow trigger configuration, removing the
pull_requesttrigger for thecopilot-setup-steps.ymlworkflow. Now, the workflow will only be triggered onpushevents to the specified file.Before

After

Check off the following: