From 3b36dc465b0575c643a9e1ed2c89716c3b932167 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Tue, 2 Apr 2024 18:41:57 +0200 Subject: [PATCH] fixup! Extract checkout target commit to a composite action --- .github/workflows/build-images.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index d19e9572c7f5..8562eff34108 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -83,7 +83,6 @@ jobs: github.event.pull_request.head.sha || github.sha }}" - if: github.repository == 'apache/airflow' steps: - name: "Cleanup repo" shell: bash @@ -170,9 +169,6 @@ jobs: needs: [build-info] uses: ./.github/workflows/ci-image-build.yml # Only run this it if the PR comes from fork, otherwise build will be done "in-PR-workflow" - if: | - needs.build-info.outputs.ci-image-build == 'true' && - github.event.pull_request.head.repo.full_name != 'apache/airflow' with: runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }} runs-on-as-json-self-hosted: ${{ needs.build-info.outputs.runs-on-as-json-self-hosted }} @@ -212,9 +208,6 @@ jobs: needs: [build-info, generate-constraints] uses: ./.github/workflows/prod-image-build.yml # Only run this it if the PR comes from fork, otherwise build will be done "in-PR-workflow" - if: | - needs.build-info.outputs.prod-image-build == 'true' && - github.event.pull_request.head.repo.full_name != 'apache/airflow' with: runs-on-as-json-public: ${{ needs.build-info.outputs.runs-on-as-json-public }} build-type: "Regular"