Skip to content

Commit ac26e9f

Browse files
Copilotjonstacks
andcommitted
docs: add merge queue note to copilot-setup-steps example
Co-authored-by: jonstacks <6900888+jonstacks@users.noreply.github.com>
1 parent 5c2f241 commit ac26e9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ jobs:
7676
# ...
7777
```
7878

79+
> [!NOTE]
80+
> If your repository uses a merge queue, the `push` trigger above will also run when pull requests are added to the merge queue. To prevent this, add `branches-ignore: ['gh-readonly-queue/**']` to the `push` trigger and restrict the `pull_request` trigger to your default branch with `branches: [YOUR-DEFAULT-BRANCH]`. For more information, see [AUTOTITLE](/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue).
81+
7982
In your `copilot-setup-steps.yml` file, you can only customize the following settings of the `copilot-setup-steps` job. If you try to customize other settings, your changes will be ignored.
8083

8184
* `steps` (see above)

0 commit comments

Comments
 (0)