mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
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:
1 parent
a15fb6b331
commit
33052fa101
4 files changed
+16
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user