Skip to content

Commit

Permalink
ci: Add merge queue triggers to CI actions (#1552)
Browse files Browse the repository at this point in the history
## Description:
<!-- Describe this change, how it works, and the motivation behind it.
-->

## Is this change user facing?
YES/NO
<!-- If yes, please add the "user facing" label to the PR -->
<!-- If yes, don't forget to include docs changes where relevant -->

## References (if applicable):
<!-- Add relevant Github Issues, Discord threads, or other helpful
information. -->
  • Loading branch information
victorcolombo authored Oct 13, 2023
1 parent 1f8cb15 commit 686e191
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/conventional-pr-title-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ on:
- reopened
- edited
- synchronize
push:
branches:
- gh-readonly-queue/main/**
merge_group:

# cancel redundant builds
concurrency:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/do-not-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Do Not Merge
on:
pull_request:
types: [synchronize, opened, reopened, labeled, unlabeled]
merge_group:

jobs:
do-not-merge:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/gofmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ concurrency:
cancel-in-progress: true

on:
push:
branches:
- gh-readonly-queue/main/**
pull_request:
merge_group:

jobs:
gofmt:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@ permissions:
contents: read

on:
push:
branches:
- gh-readonly-queue/main/**
pull_request:
merge_group:

env:
GOLINT_VERSION: v1.53.3
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/push-docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Deploy documentation

on: push
on:
push:
merge_group:

jobs:
publish:
Expand Down

0 comments on commit 686e191

Please sign in to comment.