From e6905b4fcc267c2865ed4e7d0e322600683a46dc Mon Sep 17 00:00:00 2001 From: Gerald Pinder Date: Wed, 15 May 2024 11:35:20 -0400 Subject: [PATCH] chore: Fix checkout for podman-build --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9708eec..67920a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -156,6 +156,7 @@ jobs: contents: read packages: write id-token: write + if: github.repository == 'blue-build/cli' needs: - build @@ -185,13 +186,11 @@ jobs: run: | earthly account login --token ${{ secrets.EARTHLY_SAT_TOKEN }} >> /dev/null earthly org s blue-build - earthly sat s pr + earthly sat s main - uses: actions/checkout@v4 with: - fetch-depth: 0 - ref: ${{github.event.pull_request.head.ref}} - repository: ${{github.event.pull_request.head.repo.full_name}} + ref: main - name: Install bluebuild run: |