From f056561e0fc03811ec56b2365f9bbb8caec070d3 Mon Sep 17 00:00:00 2001 From: PoisonPhang <17688291+PoisonPhang@users.noreply.github.com> Date: Fri, 23 Aug 2024 10:15:28 -0500 Subject: [PATCH] fix(ci): use check-requsted event trigger --- .github/workflows/require-garnix-success.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/require-garnix-success.yml b/.github/workflows/require-garnix-success.yml index 8817b06a7c..e6e326bb06 100644 --- a/.github/workflows/require-garnix-success.yml +++ b/.github/workflows/require-garnix-success.yml @@ -6,6 +6,7 @@ on: branches: - main merge_group: + types: [check-requested] permissions: checks: read @@ -22,7 +23,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} REPO: ${{ github.repository }} - REF: ${{ github.head_ref }} + REF: ${{ github.head_ref || github.pull_request.head_ref || github.merge_group.head_ref }} run: | sleep 60