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: |