From 600eea19771f4ca5ccca16257df98a458e70d0be Mon Sep 17 00:00:00 2001 From: Benjamin Sznajder Date: Tue, 8 Sep 2026 11:25:12 +0300 Subject: [PATCH 1/2] cicd: pin CI helper/action checkouts to PR head (#479) The ubuntu-latest helper jobs and every Spyre job's sparse .github/actions checkout used bare actions/checkout, resolving to the synthetic merge commit GITHUB_SHA instead of the PR head that build-hf-adapters tests. This made the generated matrix and composite actions drift from the code under test whenever a PR was behind main. Resolve all checkouts to a single env.TARGET_REF mirroring build-hf-adapters' ${PR_HEAD_SHA:-$GITHUB_SHA} plus the Test-With inputs.ref. Co-Authored-By: Claude Opus 4.7 Signed-off-by: Benjamin Sznajder --- .github/workflows/_test_matrix.yaml | 57 ++++++++++++++++++++++++++--- 1 file changed, 52 insertions(+), 5 deletions(-) diff --git a/.github/workflows/_test_matrix.yaml b/.github/workflows/_test_matrix.yaml index 90c9e741..18213b15 100644 --- a/.github/workflows/_test_matrix.yaml +++ b/.github/workflows/_test_matrix.yaml @@ -136,6 +136,12 @@ env: # due to a mix of fallbacks and decompositions. # Here we set it to an empty string (or we could also unset it). CI: "" + # The commit the ubuntu-latest helper jobs (matrix generation, pre-commit, + # mypy, adapter-coverage, ...) check out. Mirrors build-hf-adapters' resolution + # (${PR_HEAD_SHA:-$GITHUB_SHA}, plus the Test-With inputs.ref override) so those + # jobs run on the PR head rather than the synthetic merge commit GITHUB_SHA that + # bare actions/checkout defaults to. Defined once here; see issue #479. + TARGET_REF: ${{ inputs.ref || github.event.pull_request.head.sha || github.sha }} CLONED_HF_ADAPTERS_DIR: ${{ github.workspace }} STORAGE_1_DIR: /storage-1/hf-adapters HF_HOME: /storage-1/hf-adapters/.cache/huggingface @@ -168,6 +174,7 @@ jobs: - name: Checkout (for the shared resolver script) uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: scripts/resolve_test_type.sh sparse-checkout-cone-mode: false - name: Resolve @@ -187,6 +194,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 - name: Set up Python uses: actions/setup-python@v5 @@ -231,6 +240,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + # Generate the matrix from the PR head (env.TARGET_REF), not the synthetic + # merge commit GITHUB_SHA. Otherwise the matrix can include models whose + # adapters exist only in the merge commit, whose legs then fail against the + # PR-head code; see issue #479. + ref: ${{ env.TARGET_REF }} - name: Set up Python uses: actions/setup-python@v5 @@ -293,10 +308,11 @@ jobs: - name: List tests/configs/module_tests at the ref under test id: generate env: - # Same inputs, same clone-URL resolution as build-hf-adapters/action.yaml's - # "Checkout target commit" step, so this always inspects the identical - # source tree that step is about to check out. - INPUT_REF: ${{ inputs.ref }} + # Same clone-URL resolution as build-hf-adapters/action.yaml's "Checkout + # target commit" step, so this always inspects the identical source tree + # that step is about to check out. TARGET_REF (the commit) comes from the + # workflow-level env, which mirrors build-hf-adapters' ${PR_HEAD_SHA:-$GITHUB_SHA} + # plus the Test-With inputs.ref override; see issue #479. INPUT_REPOSITORY: ${{ inputs.repository }} run: | set -euo pipefail @@ -304,7 +320,6 @@ jobs: if [[ -n "$INPUT_REPOSITORY" && "$CLONE_URL" != *"://"* ]]; then CLONE_URL="$GITHUB_SERVER_URL/${CLONE_URL%.git}.git" fi - TARGET_REF="${INPUT_REF:-$GITHUB_SHA}" git clone --filter=blob:none --no-checkout "$CLONE_URL" repo cd repo git checkout --force "$TARGET_REF" @@ -324,6 +339,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 - name: Set up Python uses: actions/setup-python@v5 @@ -353,6 +370,8 @@ jobs: working-directory: . steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 - name: Set up Python 3.12 uses: astral-sh/setup-uv@v5 @@ -384,6 +403,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 - name: Set up Python uses: actions/setup-python@v5 @@ -474,6 +495,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -545,6 +567,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -612,6 +635,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -673,6 +697,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -735,6 +760,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -803,6 +829,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -927,6 +954,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -991,6 +1019,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1055,6 +1084,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1119,6 +1149,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1183,6 +1214,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1268,6 +1300,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1341,6 +1374,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1520,6 +1554,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1575,6 +1610,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1629,6 +1665,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1683,6 +1720,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1733,6 +1771,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1787,6 +1826,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1841,6 +1881,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1894,6 +1935,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1947,6 +1989,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -2000,6 +2043,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -2053,6 +2097,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -2106,6 +2151,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -2166,6 +2212,7 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: + ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false From 338c0e518d82be07784acc1749c923fbb965703e Mon Sep 17 00:00:00 2001 From: Benjamin Sznajder Date: Tue, 8 Sep 2026 13:04:55 +0300 Subject: [PATCH 2/2] cicd: converge CI checkouts on GITHUB_SHA (#479) Per review, resolve the PR/merge-commit drift by pointing build-hf-adapters at GITHUB_SHA (what actions/checkout already defaults to) instead of pinning every helper/action checkout to the PR head. Reverts the _test_matrix ref overrides. Co-Authored-By: Claude Opus 4.7 Signed-off-by: Benjamin Sznajder --- .github/actions/build-hf-adapters/action.yaml | 19 ++++--- .github/workflows/_test_matrix.yaml | 57 ++----------------- 2 files changed, 17 insertions(+), 59 deletions(-) diff --git a/.github/actions/build-hf-adapters/action.yaml b/.github/actions/build-hf-adapters/action.yaml index 5b03eddb..a4b6d2c5 100644 --- a/.github/actions/build-hf-adapters/action.yaml +++ b/.github/actions/build-hf-adapters/action.yaml @@ -10,8 +10,10 @@ inputs: required: true ref: description: > - Branch, tag, or SHA of hf-adapters to check out. Empty = the PR/push head - (today's behaviour). Set by the cross-repo Test-With: flow to test a companion ref. + Branch, tag, or SHA of hf-adapters to check out. Empty = GITHUB_SHA (the + synthetic merge commit for pull_request events, the pushed commit otherwise), + consistent with actions/checkout; see issue #479. Set by the cross-repo + Test-With: flow to test a companion ref. required: false default: '' repository: @@ -35,11 +37,9 @@ runs: shell: bash working-directory: /home/senuser env: - PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }} - PR_HEAD_REF: ${{ github.event.pull_request.head.ref }} GITHUB_SHA: ${{ github.sha }} GITHUB_REF: ${{ github.ref }} - # Cross-repo Test-With: overrides. Empty = today's behaviour (base repo, PR/push head). + # Cross-repo Test-With: overrides. Empty = base repo at GITHUB_SHA (see issue #479). INPUT_REF: ${{ inputs.ref }} INPUT_REPOSITORY: ${{ inputs.repository }} run: | @@ -72,8 +72,13 @@ runs: git checkout --force "${TARGET_REF}" 2>/dev/null || git checkout --force origin/_target TARGET_SHA="$(git rev-parse HEAD)" else - TARGET_SHA="${PR_HEAD_SHA:-$GITHUB_SHA}" - TARGET_REF="${PR_HEAD_REF:-$GITHUB_REF}" + # Use GITHUB_SHA (the synthetic merge commit for pull_request events, + # the pushed commit for push/merge_group, the dispatched SHA for + # workflow_dispatch). This is consistent with what actions/checkout + # defaults to, so all jobs in the workflow test the same commit; + # see issue #479. + TARGET_SHA="$GITHUB_SHA" + TARGET_REF="$GITHUB_REF" echo "TARGET_REF=${TARGET_REF}" echo "TARGET_SHA=${TARGET_SHA}" git fetch --tags --force origin "+${TARGET_SHA}" || \ diff --git a/.github/workflows/_test_matrix.yaml b/.github/workflows/_test_matrix.yaml index 18213b15..90c9e741 100644 --- a/.github/workflows/_test_matrix.yaml +++ b/.github/workflows/_test_matrix.yaml @@ -136,12 +136,6 @@ env: # due to a mix of fallbacks and decompositions. # Here we set it to an empty string (or we could also unset it). CI: "" - # The commit the ubuntu-latest helper jobs (matrix generation, pre-commit, - # mypy, adapter-coverage, ...) check out. Mirrors build-hf-adapters' resolution - # (${PR_HEAD_SHA:-$GITHUB_SHA}, plus the Test-With inputs.ref override) so those - # jobs run on the PR head rather than the synthetic merge commit GITHUB_SHA that - # bare actions/checkout defaults to. Defined once here; see issue #479. - TARGET_REF: ${{ inputs.ref || github.event.pull_request.head.sha || github.sha }} CLONED_HF_ADAPTERS_DIR: ${{ github.workspace }} STORAGE_1_DIR: /storage-1/hf-adapters HF_HOME: /storage-1/hf-adapters/.cache/huggingface @@ -174,7 +168,6 @@ jobs: - name: Checkout (for the shared resolver script) uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: scripts/resolve_test_type.sh sparse-checkout-cone-mode: false - name: Resolve @@ -194,8 +187,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 - name: Set up Python uses: actions/setup-python@v5 @@ -240,12 +231,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - # Generate the matrix from the PR head (env.TARGET_REF), not the synthetic - # merge commit GITHUB_SHA. Otherwise the matrix can include models whose - # adapters exist only in the merge commit, whose legs then fail against the - # PR-head code; see issue #479. - ref: ${{ env.TARGET_REF }} - name: Set up Python uses: actions/setup-python@v5 @@ -308,11 +293,10 @@ jobs: - name: List tests/configs/module_tests at the ref under test id: generate env: - # Same clone-URL resolution as build-hf-adapters/action.yaml's "Checkout - # target commit" step, so this always inspects the identical source tree - # that step is about to check out. TARGET_REF (the commit) comes from the - # workflow-level env, which mirrors build-hf-adapters' ${PR_HEAD_SHA:-$GITHUB_SHA} - # plus the Test-With inputs.ref override; see issue #479. + # Same inputs, same clone-URL resolution as build-hf-adapters/action.yaml's + # "Checkout target commit" step, so this always inspects the identical + # source tree that step is about to check out. + INPUT_REF: ${{ inputs.ref }} INPUT_REPOSITORY: ${{ inputs.repository }} run: | set -euo pipefail @@ -320,6 +304,7 @@ jobs: if [[ -n "$INPUT_REPOSITORY" && "$CLONE_URL" != *"://"* ]]; then CLONE_URL="$GITHUB_SERVER_URL/${CLONE_URL%.git}.git" fi + TARGET_REF="${INPUT_REF:-$GITHUB_SHA}" git clone --filter=blob:none --no-checkout "$CLONE_URL" repo cd repo git checkout --force "$TARGET_REF" @@ -339,8 +324,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 - name: Set up Python uses: actions/setup-python@v5 @@ -370,8 +353,6 @@ jobs: working-directory: . steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 - name: Set up Python 3.12 uses: astral-sh/setup-uv@v5 @@ -403,8 +384,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 - name: Set up Python uses: actions/setup-python@v5 @@ -495,7 +474,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -567,7 +545,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -635,7 +612,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -697,7 +673,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -760,7 +735,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -829,7 +803,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -954,7 +927,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1019,7 +991,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1084,7 +1055,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1149,7 +1119,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1214,7 +1183,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1300,7 +1268,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1374,7 +1341,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1554,7 +1520,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1610,7 +1575,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1665,7 +1629,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1720,7 +1683,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1771,7 +1733,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1826,7 +1787,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1881,7 +1841,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1935,7 +1894,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -1989,7 +1947,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -2043,7 +2000,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -2097,7 +2053,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -2151,7 +2106,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false @@ -2212,7 +2166,6 @@ jobs: - name: Checkout composite actions uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: - ref: ${{ env.TARGET_REF }} # PR head, not GITHUB_SHA; see issue #479 sparse-checkout: .github/actions sparse-checkout-cone-mode: false