Skip to content

Commit

Permalink
fixup! Run coverity if there was any commit in the week
Browse files Browse the repository at this point in the history
  • Loading branch information
simo5 committed Jul 26, 2022
1 parent edda7c7 commit 5b77a0d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ jobs:
./configure
- name: Check for changes
run: |
echo "RUN_COV=0" >> $GITHUB_ENV;
DIFF=`git log --since=1week | wc -l`
if [ $DIFF -eq 0]; then
echo "RUN_COV=0" >> $GITHUB_ENV;
else
if [ x${DIFF} != "x0" ]; then
echo "RUN_COV=1" >> $GITHUB_ENV;
fi
- name: Coverity Scan
Expand Down

0 comments on commit 5b77a0d

Please # to comment.