Skip to content

Commit

Permalink
Add policy flag to fossa analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
elaguerta-nr authored Nov 7, 2023
1 parent 681f687 commit cd86fe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
name: Run fossa analyze
if: ${{ steps.fossa-list-targets.outputs.HAS_FOSSA_TARGETS == 'True'}}
run: |
fossa_analyze_output=$(fossa analyze 2>&1)
fossa_analyze_output=$(fossa analyze --policy='New Relic Public Github' 2>&1)
echo "::notice::$fossa_analyze_output"
if [[ $(echo $fossa_analyze_output | grep "Error" | wc -l) -gt 0 ]]
Expand Down

0 comments on commit cd86fe7

Please sign in to comment.