github / github/docs

`restrict-creations` should warn about compatibility with merge queues

未關閉 適合新手
#45,334 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
content needs SME repositories
主要語言
TypeScript
星號
20.8k
分支
68.7k
平均合併
13 小時 10 分鐘
30 天內合併 PR
111

描述

### Code of Conduct

- [x] I have read and agree to the GitHub Docs project's [Code of Conduct](https://github.com/github/docs/blob/main/.github/CODE_OF_CONDUCT.md)

### What article on docs.github.com is affected?

https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets#restrict-creations

### What part(s) of the article would you like to see updated?

[Restrict creations](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets#restrict-creations)

Explain that you need to add the `GitHub Merge Queue` app to the bypass list if you apply the rule to "all branches" (or anything that would match the github merge queue branch pattern)

- https://github.com/community/community/discussions/167530

### Additional information

The github merge-queue prefix appears to be documented as `gh-readonly-queue/{base_branch}`:

https://github.com/github/docs/blob/68352680faac5483ecbe6472c5a20c5d81bb2ec0/content/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-a-merge-queue.md?plain=1#L49

貢獻指南

開啟貢獻指南

研究方向

先從受影響的 available-rules-for-rulesets 文章中的「Restrict creations」區段開始,接著閱讀連結的 merge queue 文章和社群討論以了解背景。完成的標準是:當規則符合 merge queue 分支時,該區段清楚說明所需的 GitHub Merge Queue 繞過方式,並準確記錄相關的分支模式。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github
領域
documentation
Issue 類型
文件
難度
1/5
預估耗時
1 小時以內
活躍度
冷清
描述清晰度
描述清楚
新手友好度
78/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。