From 1b35b90ed8729f3c2cfd6d264d13329954068d12 Mon Sep 17 00:00:00 2001 From: koromo <66541802+violet-dev@users.noreply.github.com> Date: Sat, 9 Dec 2023 18:37:43 +0900 Subject: [PATCH] Update pr.yml --- .github/workflows/pr.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d5903cfb3..5bcbbe364 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -3,12 +3,16 @@ on: pull_request: workflow_dispatch: merge_group: + branches: + - dev jobs: ios-build: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha || github.event.merge_group.head_sha }} - uses: subosito/flutter-action@v2 with: # flutter-version: '2.5.2' @@ -48,7 +52,9 @@ jobs: android-build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha || github.event.merge_group.head_sha }} - uses: actions/setup-java@v1 with: java-version: '12.x'