Skip to content

Conversation

@brignano
Copy link
Contributor

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_request trigger for the copilot-setup-steps.yml workflow. Now, the workflow will only be triggered on push events to the specified file.

Before
image

After
image

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

Remove pull_request trigger for copilot-setup-steps workflow.
Copilot AI review requested due to automatic review settings January 14, 2026 02:51
@github-actions
Copy link
Contributor

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 links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment.md fpt
ghec
fpt
ghec

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Jan 14, 2026
Copy link
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

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_request trigger configuration from the copilot-setup-steps workflow example

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 55 to 57
push:
paths:
- .github/workflows/copilot-setup-steps.yml
Copy link

Copilot AI Jan 14, 2026

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.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

is it redudant to run Copilot Setup Steps on push and pull_request?

1 participant