File tree Expand file tree Collapse file tree 1 file changed +25
-24
lines changed Expand file tree Collapse file tree 1 file changed +25
-24
lines changed Original file line number Diff line number Diff line change @@ -99,27 +99,28 @@ runs:
99
99
HEAD=${{github.event.pull_request.head.sha}}
100
100
fi
101
101
fi
102
- fi
103
- # #########################################
104
- # # Determine additional args ##
105
- # #########################################
106
- if [ -n "$NO_FAIL" ]; then
107
- FAIL=""
108
- else
109
- FAIL="--fail"
110
- fi
111
- # #########################################
112
- # # Run TruffleHog ##
113
- # #########################################
114
- results=$(docker run --rm -v ${{ github.workspace }}:/tmp -w /tmp \
115
- ghcr.io/trufflesecurity/trufflehog:${VERSION} \
116
- git file:///tmp/ \
117
- --since-commit \
118
- ${BASE:-''} \
119
- --branch \
120
- ${HEAD:-''} \
121
- ${FAIL} \
122
- --no-update \
123
- --github-actions \
124
- ${ARGS:-''})
125
- echo "results='$(echo $results)'" >> $GITHUB_OUTPUT
102
+
103
+ ##########################################
104
+ ## Determine additional args ##
105
+ ##########################################
106
+ if [ -n "$NO_FAIL" ]; then
107
+ FAIL=""
108
+ else
109
+ FAIL="--fail"
110
+ fi
111
+
112
+ ##########################################
113
+ ## Run TruffleHog ##
114
+ ##########################################
115
+ results=$(docker run --rm -v ${{ github.workspace }}:/tmp -w /tmp \
116
+ ghcr.io/trufflesecurity/trufflehog:${VERSION} \
117
+ git file:///tmp/ \
118
+ --since-commit \
119
+ ${BASE:-''} \
120
+ --branch \
121
+ ${HEAD:-''} \
122
+ ${FAIL} \
123
+ --no-update \
124
+ --github-actions \
125
+ ${ARGS:-''})
126
+ echo "results='$(echo $results)'" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments