From 80d450207c1f181336aacc81080e2952a25a9186 Mon Sep 17 00:00:00 2001 From: James Wampler Date: Sat, 4 Jul 2026 11:42:44 -0700 Subject: [PATCH] Replace actions/checkout with plain git in deploy-qa job Self-hosted qa runner has no node in PATH, so the Node-based actions/checkout@v4 action can't run there. Swap it for a bash git fetch/checkout, matching the pipeline's no-marketplace-action convention. --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cde47f5..6780403 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,7 +42,14 @@ jobs: JWT_SECRET_KEY: ${{ secrets.JWT_SECRET_KEY }} QA_ADMIN_PORT: ${{ vars.QA_ADMIN_PORT }} steps: - - uses: actions/checkout@v4 + # actions/checkout@v4 is a Node-based action; this runner has no node + # in PATH, so checkout plain git instead of via marketplace action. + - name: Checkout + run: | + git init -q . + git remote add origin "${{ github.server_url }}/${{ github.repository }}.git" + git -c http.extraheader="AUTHORIZATION: bearer ${{ github.token }}" fetch --depth=1 origin "${{ github.sha }}" + git checkout -q FETCH_HEAD - name: Deploy to QA run: ./scripts/ci/deploy-qa.sh