Skip to content

docs: warn about merge queue false triggers in copilot-setup-steps workflow - #1

Draft
jonstacks with Copilot wants to merge 2 commits into
mainfrom
copilot/update-copilot-docs
Draft

jonstacks with Copilot wants to merge 2 commits into
mainfrom
copilot/update-copilot-docs

Conversation

Copilot AI commented Mar 6, 2026 •

Copy link
Copy Markdown

The example copilot-setup-steps.yml workflow triggers on push with a path filter, which also fires when PRs enter a merge queue (gh-readonly-queue/** branches)—causing unexpected workflow runs.

Changes

  • Added a [!NOTE] alert after the example workflow in customize-the-agent-environment.md explaining the merge queue behavior and the fix: add branches-ignore: ['gh-readonly-queue/**'] to push and scope pull_request to the default branch.
on:
  workflow_dispatch:
  push:
    branches-ignore:
      - 'gh-readonly-queue/**'
    paths:
      - .github/workflows/copilot-setup-steps.yml
  pull_request:
    branches:
      - YOUR-DEFAULT-BRANCH
    paths:
      - .github/workflows/copilot-setup-steps.yml

đź’ˇ 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.

Co-authored-by: jonstacks <6900888+jonstacks@users.noreply.github.com>
Copilot AI changed the title [WIP] Update documentation for copilot-setup-steps.yml docs: warn about merge queue false triggers in copilot-setup-steps workflow Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants