Skip to content

Commit

Permalink
Add step to check if BLACKDUCK_URL is set.
Browse files Browse the repository at this point in the history
  • Loading branch information
didiermichel committed Jul 24, 2023
1 parent d30c819 commit 9ec4820
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/blackduck-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
Blackduck-Scan:
runs-on: ubuntu-20.04
steps:
- name: Check for Secret
run: |
if [ -z "${{ secrets.BLACKDUCK_URL }}" ]; then
echo "Error:blackduck secret not found"
exit 1
fi
- name: Checkout source repository
id: checkout-source
Expand Down

0 comments on commit 9ec4820

Please sign in to comment.