Skip to content

Commit 2b227f8

Browse files
Update entrypoint.sh
1 parent ff8284f commit 2b227f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

entrypoint.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
echo $INPUT_PR
66
echo $INPUT_COMMAND
77
echo $INPUT_OPTIONS
8+
echo $EVENT_NAME
89

910
SUPPORTED_COMMANDS=("/review" "review")
1011

@@ -23,8 +24,8 @@ done
2324

2425
# Run the Docker container from the specified image
2526
if [ "$valid_command" = true ]; then
26-
docker pull bitoai/cra:latest >&2
27-
exec docker run bitoai/cra:latest --mode=cli --pr_url $INPUT_PR --command "$INPUT_COMMAND" rest $INPUT_OPTIONS
27+
docker pull bitoai/cra:1.3.0 >&2
28+
exec docker run bitoai/cra:1.3.0 --mode=cli --pr_url $INPUT_PR --command "$INPUT_COMMAND" rest $INPUT_OPTIONS
2829
else
2930
echo "$INPUT_COMMAND is not supported"
3031
exit 0 # Exit the script with a non-zero status code

0 commit comments

Comments
 (0)