From f9ff781df3750b59d9d5e70dd81222059f6b1d13 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Fri, 3 Jun 2022 14:46:36 -0600 Subject: [PATCH] Skip buildx on-success check for tagged builds Tagged builds seem to erroneously fail the on-success check due to the tests not having finished when the build begins. Since tagged builds are only ever submitted once the tagged commit is confirmed to pass all tests, this check will now be skipped. --- .github/workflows/buildx.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/buildx.yml b/.github/workflows/buildx.yml index 7cd2767..2473304 100644 --- a/.github/workflows/buildx.yml +++ b/.github/workflows/buildx.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Wait for tests to succeed - if: ${{ github.event.workflow_run.conclusion != 'success' }} + if: ${{ github.event.workflow_run.conclusion != 'success' && startsWith(github.ref, 'refs/tags') != true }} run: exit 1 - name: checkout code uses: actions/checkout@v2