Skip to content

Commit

Permalink
conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
galkahana committed Jul 1, 2023
1 parent f8361ac commit a646995
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,18 @@ jobs:
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- name: 'Dependency Review'
- name: 'Dependency Review Push'
uses: actions/dependency-review-action@v3
with:
fail-on-severity: high
base-ref: ${{ github.event.before }}
head-ref: ${{ github.sha }}
head-ref: ${{ github.sha }}
if: ${{ github.event_name == 'push'}}
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
with:
fail-on-severity: high
if: ${{ github.event_name != 'push'}}
build-node-publish:
needs: dependency-review
strategy:
Expand Down

0 comments on commit a646995

Please sign in to comment.