diff --git a/.github/workflows/conventional-pr-title-checker.yml b/.github/workflows/conventional-pr-title-checker.yml index 042139b37e..971141b28d 100644 --- a/.github/workflows/conventional-pr-title-checker.yml +++ b/.github/workflows/conventional-pr-title-checker.yml @@ -7,9 +7,7 @@ on: - reopened - edited - synchronize - push: - branches: - - gh-readonly-queue/main/** + merge_group: # cancel redundant builds concurrency: diff --git a/.github/workflows/do-not-merge.yml b/.github/workflows/do-not-merge.yml index 4c252a86f1..9b41bd39e2 100644 --- a/.github/workflows/do-not-merge.yml +++ b/.github/workflows/do-not-merge.yml @@ -3,6 +3,7 @@ name: Do Not Merge on: pull_request: types: [synchronize, opened, reopened, labeled, unlabeled] + merge_group: jobs: do-not-merge: diff --git a/.github/workflows/gofmt.yml b/.github/workflows/gofmt.yml index a13affd0cd..a54257594a 100644 --- a/.github/workflows/gofmt.yml +++ b/.github/workflows/gofmt.yml @@ -7,10 +7,8 @@ concurrency: cancel-in-progress: true on: - push: - branches: - - gh-readonly-queue/main/** pull_request: + merge_group: jobs: gofmt: diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 3f8aa253c9..21f29716c1 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -14,10 +14,8 @@ permissions: contents: read on: - push: - branches: - - gh-readonly-queue/main/** pull_request: + merge_group: env: GOLINT_VERSION: v1.53.3 diff --git a/.github/workflows/push-docs.yml b/.github/workflows/push-docs.yml index a001ef2abf..ab0e9da250 100644 --- a/.github/workflows/push-docs.yml +++ b/.github/workflows/push-docs.yml @@ -1,6 +1,8 @@ name: Deploy documentation -on: push +on: + push: + merge_group: jobs: publish: