github/docs

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

Open

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

在 GitHub 查看
 (14 留言) (3 反應) (0 負責人)TypeScript (19,479 star) (67,056 fork)batch import
SME reviewedactionscontenthelp wantednever-staletriage

描述

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

貢獻者指南