Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zricethezav authored Feb 26, 2020
1 parent 2fcd08c commit 42c12bc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ then
CONFIG=" --config=$GITHUB_WORKSPACE/.gitleaks.toml"
fi

if [ -f ".gitleaks.toml" ]
then
echo "it exists 1"
CONFIG=" --config=$GITHUB_WORKSPACE/.gitleaks.toml"
fi

if [[ -f "$GITHUB_WORKSPACE/.gitleaks.toml" ]]
then
echo "it exists 2"
CONFIG=" --config=$GITHUB_WORKSPACE/.gitleaks.toml"
fi


echo running gitleaks "$(gitleaks --version) with the following command👇"

DONATE_MSG="👋 maintaining gitleaks takes a lot of work so consider sponsoring me or donating a little something\n\e[36mhttps://github.com/sponsors/zricethezav\n\e[36mhttps://www.paypal.me/zricethezav\n"
Expand Down

0 comments on commit 42c12bc

Please sign in to comment.