Skip to content

Commit

Permalink
Always enable color output
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Mar 5, 2024
1 parent 68cd9c5 commit a9e5b58
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ then
git config --global --replace-all url./~https://github.com/.insteadOf ssh://git@github.com/
git config --global --add url./~https://github.com/.insteadOf git@github.com:

echo $2 > $HOME/.git-credentials
chmod 600 $HOME/.git-credentials
echo "$2" > "$HOME/.git-credentials"
chmod 600 "$HOME/.git-credentials"
fi

shift
shift

# Due to how github actions run containers we need to explicitly force colors
# as TTY detection fails inside them
export CARGO_TERM_COLOR="always"

cargo-deny $*

0 comments on commit a9e5b58

Please sign in to comment.