File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -94,17 +94,14 @@ runs:
94
94
HEAD=${{github.event.pull_request.head.sha}}
95
95
fi
96
96
fi
97
- ##########################################
98
- ## Run TruffleHog ##
99
- ##########################################
100
- docker run --rm -v .:/tmp -w /tmp \
101
- ghcr.io/trufflesecurity/trufflehog:${VERSION} \
102
- git file:///tmp/ \
103
- --since-commit \
104
- ${BASE:-''} \
105
- --branch \
106
- ${HEAD:-''} \
107
- --fail \
108
- --no-update \
109
- --github-actions \
110
- ${ARGS:-''}
97
+ fi
98
+ # #########################################
99
+ # # Run TruffleHog ##
100
+ # #########################################
101
+ results=$(docker run --rm -v ${{ github.workspace }}:/tmp -w /tmp \
102
+ ghcr.io/trufflesecurity/trufflehog:${VERSION} \
103
+ git file:///tmp/ \
104
+ --no-update \
105
+ --github-actions \
106
+ ${ARGS:-''})
107
+ echo "results='$(echo $results)'" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments