diff --git a/.github/workflows/auto-review.yml b/.github/workflows/auto-review.yml index 76e14e9d1..f6ec57a7c 100644 --- a/.github/workflows/auto-review.yml +++ b/.github/workflows/auto-review.yml @@ -2,6 +2,7 @@ # merge, which means that I need a bot to review my own work. name: Automatic pull request approvals on: + merge_group: pull_request_target: types: - opened diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c4d2c843..2aa00f645 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,7 @@ on: branches: - main pull_request: + merge_group: env: GOPROXY: "https://proxy.golang.org" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b9bbd6bf..1a48d4501 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,8 @@ name: release on: - # Test that it works on pull_request; goreleaser goes into snapshot mode if not a tag. + # Test that it works on pull_request or merge group; goreleaser goes into snapshot mode if not a tag. pull_request: + merge_group: push: tags: - v*