Open muzimuzhi opened 1 month ago
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
GitHub Actions merge_group trigger supports branches filter since its beta release in Aug 2022, but it's not documented till now.
merge_group
branches
I guess the symmetric branches-ignore filter is also supported but didn't check it myself.
branches-ignore
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 a separate on.merge_group.<branches|branches-ignore> section can be added.
on.<pull_request|pull_request_target>.<branches|branches-ignore>
on.merge_group.<branches|branches-ignore>
Relevant GitHub Blogs
Related
@muzimuzhi Thank you for opening this issue! I'll get this triaged for review ✨
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 supportsbranches
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 covermerge_group
and taking care of old anchor name redirection. Or a separateon.merge_group.<branches|branches-ignore>
section can be added.Additional information
Relevant GitHub Blogs
Related