github/docs

No doc of `on.merge_group.<branches|branches-ignore>`

開放

#32,879 建立於 2024年5月8日

 (14 則留言) (3 個反應) (0 位負責人)TypeScript (67,056 個分叉)batch import
SME reviewedactionscontenthelp wantednever-staletriage

倉庫指標

星標
 (19,479 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions

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

GitHub Actions merge_group trigger supports branches filter since its beta release in Aug 2022, but it's not documented till now.

I guess the symmetric branches-ignore filter is also supported but didn't check it myself.

One option is to extend current section on.<pull_request|pull_request_target>.<branches|branches-ignore> to cover merge_group and taking care of old anchor name redirection. Or add a separate on.merge_group.<branches|branches-ignore> section.

Additional information

Relevant GitHub Blogs

Related

貢獻者指南