Add check for event trigger in buildx action

main
Ben Busby 2021-10-20 15:32:45 -06:00 committed by GitHub
parent 1b7d3edd30
commit d4e5984ccd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ jobs:
- 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' }}
run: exit 1 run: exit 1
- name: Check trigger event
if: ${{ github.event_name != 'push' }}
run: exit 0
- name: checkout code - name: checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: install buildx - name: install buildx