Skip to content

Commit

Permalink
ci: Enable ci, release, and review workflows in merge queues.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaqx0r committed Jan 7, 2024
1 parent 69f811c commit 51d0c41
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/auto-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- main
pull_request:
merge_group:
env:
GOPROXY: "https://proxy.golang.org"

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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*
Expand Down

0 comments on commit 51d0c41

Please sign in to comment.