From 19ce124f34c6ae63b2711ec81f758d54f0a598f5 Mon Sep 17 00:00:00 2001 From: Luca Grillotti Date: Thu, 30 Nov 2023 20:06:59 +0900 Subject: [PATCH] update README for CI test --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3723e950..33a1fd93 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -40,7 +40,7 @@ jobs: uses: actions/checkout@v3 if: ${{ github.event_name == 'pull_request_target' }} with: - ref: "${{ github.event.pull_request.merge_commit_sha }}" + ref: ${{ github.event.pull_request.head.sha }} - name: Set up Docker Buildx id: buildx @@ -113,7 +113,7 @@ jobs: uses: actions/checkout@v3 if: ${{ github.event_name == 'pull_request_target' }} with: - ref: "${{ github.event.pull_request.merge_commit_sha }}" + ref: ${{ github.event.pull_request.head.sha }} - name: Run pre-commits run: | @@ -138,7 +138,7 @@ jobs: uses: actions/checkout@v3 if: ${{ github.event_name == 'pull_request_target' }} with: - ref: "refs/pull/${{ github.event.number }}/merge" + ref: ${{ github.event.pull_request.head.sha }} - name: Run pytests run: |