Skip to content

Commit

Permalink
fix(ci): use merge_group trigger (#2806)
Browse files Browse the repository at this point in the history
  • Loading branch information
PoisonPhang authored Aug 22, 2024
2 parents 79bc004 + 086fcd5 commit 2ea524f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- main
merge_group:

permissions: read-all

Expand All @@ -13,15 +14,8 @@ concurrency:
cancel-in-progress: true

jobs:
fail-on-draft:
if: github.event.pull_request.draft == true
runs-on: ubuntu-latest
steps:
- run: exit 1
check:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/require-garnix-success.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- v0.50.5-bn254
- main
merge_group:

permissions:
checks: read
Expand All @@ -14,13 +15,7 @@ concurrency:
cancel-in-progress: true

jobs:
fail-on-draft:
if: github.event.pull_request.draft == true
runs-on: ubuntu-latest
steps:
- run: exit 1
evaluate-app-status:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Evaluate Checks
Expand Down

0 comments on commit 2ea524f

Please sign in to comment.