Skip to content

Commit 121839c

Browse files
ojasjoshiOjas Joshi
andauthored
Adding echo pwd before git secrets scan (#19)
Co-authored-by: Ojas Joshi <[email protected]>
1 parent 291c144 commit 121839c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

git-secrets-scan-action/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ cd ${WORK_DIR}
1515
# $1(path) defaults to '.' and can be a path relative to WORK_DIR or can also be an absolute path as well.
1616
if [[ -d "$1" && ! -z "$(ls -A $1)" ]]; then
1717
cd $1
18+
echo "Scanning in the repo located at: $(pwd)"
1819
else
19-
echo "the provided path variable does not point to a valid directory or is empty. Does the path input variable point to the directory where your repo is checked-out?"
20+
echo "The provided path variable does not point to a valid directory or is empty. Does the path input variable point to the directory where your repo is checked-out?"
2021
exit 1
2122
fi
2223

0 commit comments

Comments
 (0)