ci: run required checks on merge queue entries (#7064)

Add a merge_group trigger to ci, checkstyle, docs-actions and
partition-literals so a merge queue can gate main on them.

Refs #5085
This commit is contained in:
Matheus André authored and GitHub committed 2026-11-02 10:27:34 -04:00
1 parent a15fb6b331
commit 33052fa101
4 files changed
+16

No files matched your search

+4
View File
@@ -20,6 +20,10 @@ on:
- 'tools/checkstyle/**'
- 'pom.xml'
- '.github/workflows/checkstyle.yml'
# Runs each merge queue entry against main plus the PRs queued ahead of it. paths does not
# apply to merge_group, so a queued PR is always checked.
merge_group:
types: [checks_requested]
permissions:
contents: read
+4
View File
@@ -18,6 +18,10 @@ on:
- 'pom.xml'
- '.github/ci/**'
- '.github/workflows/ci.yml'
# Runs each merge queue entry against main plus the PRs queued ahead of it. paths does not
# apply to merge_group, so a queued PR is always checked.
merge_group:
types: [checks_requested]
permissions:
contents: read
+4
View File
@@ -29,6 +29,10 @@ on:
- 'tools/java_sources.py'
- 'Makefile'
- '.github/workflows/docs-actions.yml'
# Runs each merge queue entry against main plus the PRs queued ahead of it. paths does not
# apply to merge_group, so a queued PR is always checked.
merge_group:
types: [checks_requested]
permissions:
contents: read
+4
View File
@@ -46,6 +46,10 @@ on:
- 'src/main/resources/iam/managed-policy-versions.json'
- 'Makefile'
- '.github/workflows/partition-literals.yml'
# Runs each merge queue entry against main plus the PRs queued ahead of it. paths does not
# apply to merge_group, so a queued PR is always checked.
merge_group:
types: [checks_requested]
permissions:
contents: read