diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 18cfb379..cc56d27a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.merge_commit_sha || github.ref }} + ref: ${{ github.sha || github.ref }} - id: set-matrix run: echo "matrix=$(jq -c . < ./.github/workflows/matrix.json)" >> $GITHUB_OUTPUT @@ -52,7 +52,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.merge_commit_sha || github.ref }} + ref: ${{ github.sha || github.ref }} - uses: ./.github/actions/setup with: @@ -70,7 +70,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.merge_commit_sha || github.ref }} + ref: ${{ github.sha || github.ref }} - uses: ./.github/actions/setup with: @@ -97,7 +97,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.merge_commit_sha || github.ref }} + ref: ${{ github.sha || github.ref }} - uses: ./.github/actions/setup with: @@ -117,7 +117,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.merge_commit_sha || github.ref }} + ref: ${{ github.sha || github.ref }} - uses: ./.github/actions/setup with: @@ -133,7 +133,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.merge_commit_sha || github.ref }} + ref: ${{ github.sha || github.ref }} - uses: ./.github/actions/setup with: @@ -149,7 +149,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.merge_commit_sha || github.ref }} + ref: ${{ github.sha || github.ref }} - uses: ./.github/actions/setup with: @@ -165,7 +165,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.merge_commit_sha || github.ref }} + ref: ${{ github.sha || github.ref }} - uses: ./.github/actions/setup with: @@ -181,7 +181,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ github.event.pull_request.merge_commit_sha || github.ref }} + ref: ${{ github.sha || github.ref }} - uses: ./.github/actions/setup with: