diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml index 7fc30706ca..456e30c692 100644 --- a/.github/workflows/checkstyle.yml +++ b/.github/workflows/checkstyle.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d6d106960..34ff14c093 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/.github/workflows/docs-actions.yml b/.github/workflows/docs-actions.yml index 44febaa258..313c36980c 100644 --- a/.github/workflows/docs-actions.yml +++ b/.github/workflows/docs-actions.yml @@ -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 diff --git a/.github/workflows/partition-literals.yml b/.github/workflows/partition-literals.yml index 820423f1f2..d57ce035d9 100644 --- a/.github/workflows/partition-literals.yml +++ b/.github/workflows/partition-literals.yml @@ -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