Skip to content

Commit

Permalink
ci: use git diff to compute diff
Browse files Browse the repository at this point in the history
  • Loading branch information
algomaster99 committed Jun 15, 2023
1 parent 5a210ac commit eda302d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sbom-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
HEAD: ${{ env.HEAD }}
BASE: ${{ env.BASE }}
run: |
DIFF=$(diff -u $BASE $HEAD)
DIFF=$(git diff --no-index $BASE $HEAD)
echo "$DIFF"
echo "DIFF=$DIFF" >> $GITHUB_ENV
Expand Down

0 comments on commit eda302d

Please sign in to comment.