diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6a5df116d..7dc7a716c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,8 @@ name: Continuous Integration on: pull_request: + merge_group: + types: [checks_requested] push: branches: - main @@ -12,7 +14,7 @@ permissions: jobs: validate-server-version: name: Validate Server Version - if: github.event_name == 'push' || github.base_ref == 'main' + if: github.event_name == 'push' || github.event_name == 'merge_group' || github.base_ref == 'main' runs-on: ubuntu-latest steps: - name: Checkout repository @@ -79,6 +81,17 @@ jobs: path: junit-xml retention-days: 14 + - name: Tidy modules, confirm unchanged + if: ${{ matrix.checkGenCommands }} + shell: bash + run: | + go mod tidy + ( + cd cliext + go mod tidy + ) + git diff --exit-code -- go.mod go.sum cliext/go.mod cliext/go.sum + - name: Regen code, confirm unchanged if: ${{ matrix.checkGenCommands }} run: | diff --git a/.github/workflows/govulncheck.yml b/.github/workflows/govulncheck.yml index 7c49fd9df..118c44fb1 100644 --- a/.github/workflows/govulncheck.yml +++ b/.github/workflows/govulncheck.yml @@ -2,6 +2,8 @@ name: Govulncheck on: pull_request: + merge_group: + types: [checks_requested] permissions: contents: read diff --git a/go.sum b/go.sum index 5f544e484..dc97550fd 100644 --- a/go.sum +++ b/go.sum @@ -409,8 +409,6 @@ github.com/temporalio/sqlparser v0.0.0-20231115171017-f4060bcfa6cb/go.mod h1:143 github.com/temporalio/tchannel-go v1.22.1-0.20220818200552-1be8d8cffa5b/go.mod h1:c+V9Z/ZgkzAdyGvHrvC5AsXgN+M9Qwey04cBdKYzV7U= github.com/temporalio/tchannel-go v1.22.1-0.20260129151045-8706a1ab5f61 h1:v9EBEMJggmXGbVcIAjGQpKgEB+a9E/Q0brJ6fGWJvhQ= github.com/temporalio/tchannel-go v1.22.1-0.20260129151045-8706a1ab5f61/go.mod h1:ezRQRwu9KQXy8Wuuv1aaFFxoCNz5CeNbVOOkh3xctbY= -github.com/temporalio/ui-server/v2 v2.50.1 h1:dlyg96lFwOIaiXywDzPnSXVf8GPULLfrXXVXGqRsvJY= -github.com/temporalio/ui-server/v2 v2.50.1/go.mod h1:jiWHDxRe4RDXLxGwenfV+FSgjXat81okVTTZPQOlc3c= github.com/temporalio/ui-server/v2 v2.52.0 h1:BJ5e1teLOITbn4G9zZTuDOsROonI0uRThGlzaQ1aMxs= github.com/temporalio/ui-server/v2 v2.52.0/go.mod h1:HKjuLT3J/hM1nRN6Vge2Z63tPWPNUVR/2+5CMbkBQns= github.com/tidwall/btree v1.8.1 h1:27ehoXvm5AG/g+1VxLS1SD3vRhp/H7LuEfwNvddEdmA=