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.
main
Ben Busby 2022-06-03 14:46:36 -06:00
parent 47df4da4b5
commit f9ff781df3
No known key found for this signature in database
GPG Key ID: B9B7231E01D924A1
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Wait for tests to succeed - 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 run: exit 1
- name: checkout code - name: checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2