From 60c3b2971d6e7e5dfdd73a58154a2e6d4575d1f2 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Sun, 24 Aug 2025 17:03:43 -0700 Subject: [PATCH] fix: Checkout repository before using local actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move checkout step before setup-docker to fix 'Can't find action.yml' error. Local actions require the repository to be checked out first. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/showtime-trigger.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/showtime-trigger.yml b/.github/workflows/showtime-trigger.yml index e8698262e1e..28c5b514310 100644 --- a/.github/workflows/showtime-trigger.yml +++ b/.github/workflows/showtime-trigger.yml @@ -77,6 +77,13 @@ jobs: echo "pr_number=$PR_NUM_OUT" >> $GITHUB_OUTPUT echo "target_sha=$TARGET_SHA" >> $GITHUB_OUTPUT + - name: Checkout PR code (only if build needed) + if: steps.check.outputs.build_needed == 'true' + uses: actions/checkout@v4 + with: + ref: ${{ steps.check.outputs.target_sha }} + persist-credentials: false + - name: Setup Docker Environment (only if build needed) if: steps.check.outputs.build_needed == 'true' uses: ./.github/actions/setup-docker @@ -84,13 +91,7 @@ jobs: dockerhub-user: ${{ env.DOCKERHUB_USER }} dockerhub-token: ${{ env.DOCKERHUB_TOKEN }} build: "true" - - - name: Checkout PR code (only if build needed) - if: steps.check.outputs.build_needed == 'true' - uses: actions/checkout@v4 - with: - ref: ${{ steps.check.outputs.target_sha }} - persist-credentials: false + install-docker-compose: "false" - name: Execute sync (handles everything) if: steps.check.outputs.sync_needed == 'true'