Skip to content

Commit

Permalink
Add check for event trigger in buildx action
Browse files Browse the repository at this point in the history
  • Loading branch information
benbusby authored Oct 20, 2021
1 parent 1b7d3ed commit d4e5984
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
- name: Wait for tests to succeed
if: ${{ github.event.workflow_run.conclusion != 'success' }}
run: exit 1
- name: Check trigger event
if: ${{ github.event_name != 'push' }}
run: exit 0
- name: checkout code
uses: actions/checkout@v2
- name: install buildx
Expand Down

0 comments on commit d4e5984

Please sign in to comment.