From 67d904fc7cb848cc4f2bb7969bda647b279ffa88 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 13 Oct 2023 15:29:29 -0500 Subject: [PATCH] Remove redundant 2nd attempt to wait for build The 2nd attempt to wait for build was originally added to improve the CI reliability in case the 1st attempt failed, but apparently the CI would not automatically resume even if the 2nd attempt was successful, and it's also generating warnings about skipped checks, so it has been removed. --- .github/workflows/wait-for-build.yml | 33 ---------------------------- 1 file changed, 33 deletions(-) diff --git a/.github/workflows/wait-for-build.yml b/.github/workflows/wait-for-build.yml index 8d61387e0d5..81313ce3a59 100644 --- a/.github/workflows/wait-for-build.yml +++ b/.github/workflows/wait-for-build.yml @@ -34,36 +34,3 @@ jobs: - name: Load PKI images run: docker load --input pki-images.tar - - waiting-for-build2: - name: Waiting For Build - 2nd attempt - runs-on: ubuntu-latest - needs: waiting-for-build - if: ${{ failure() }} - steps: - - name: Wait for build - uses: lewagon/wait-on-check-action@v1.2.0 - with: - ref: ${{ github.sha }} - check-name: 'Building PKI' - repo-token: ${{ secrets.GITHUB_TOKEN }} - wait-interval: 60 - if: github.event_name == 'push' - - - name: Wait for build - uses: lewagon/wait-on-check-action@v1.2.0 - with: - ref: ${{ github.event.pull_request.head.sha }} - check-name: 'Building PKI' - repo-token: ${{ secrets.GITHUB_TOKEN }} - wait-interval: 60 - if: github.event_name == 'pull_request' - - - name: Retrieve PKI images - uses: actions/cache@v3 - with: - key: pki-images-${{ github.sha }} - path: pki-images.tar - - - name: Load PKI images - run: docker load --input pki-images.tar