Skip to content

Commit

Permalink
Reverted code to override main.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
thelovekesh committed Feb 28, 2023
1 parent 0ab7c34 commit 084c3cb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@ if [[ -z "$GH_BOT_TOKEN" ]] && [[ -z "$VAULT_TOKEN" ]]; then
exit 1
fi

bash /usr/local/bin/main.sh "$@"
main_script="/usr/local/bin/main.sh"
custom_path="$GITHUB_WORKSPACE/.github/inspections/vip-go-ci/"

if [[ -d "$custom_path" ]]; then
rsync -a "$custom_path" /usr/local/bin/
fi

bash "$main_script" "$@"

0 comments on commit 084c3cb

Please sign in to comment.