Skip to content

Commit 67b14d3

Browse files
committed
.github/workflows: fix bash condition syntax for showing git diff
Fixes 'integer expression expected' error Date: 2021-03-17 07:14:20-05:00 Signed-off-by: meows <[email protected]>
1 parent a1e7b13 commit 67b14d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/audit-bootnodes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
fi
6363
done
6464
done < <(find ./params -type f -name '*bootnode*go')
65-
test "$GITHUB_EVENT_NAME" -ne "pull_request" && git --no-pager diff
65+
if [[ $GITHUB_EVENT_NAME != pull_request ]]; then git --no-pager diff; fi
6666
exit $status
6767
6868
- name: Create Pull Request

0 commit comments

Comments
 (0)