Skip to content

Commit

Permalink
timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Sep 16, 2024
1 parent b7a12d8 commit 1a8fafd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ ${JUDGES} "${gopts[@]}" update \
"${SELF}/judges" \
"${fb}"

action_version=$(curl --retry 5 --retry-delay 5 --retry-max-time 40 -sL https://api.github.com/repos/zerocracy/judges-action/releases/latest | jq -r '.tag_name')
action_version=$(curl --retry 5 --retry-delay 5 --retry-max-time 40 --connect-timeout 5 -sL https://api.github.com/repos/zerocracy/judges-action/releases/latest | jq -r '.tag_name')
if [ "$action_version" = "$VERSION" ]; then
action_version=$VERSION
else
Expand Down

1 comment on commit 1a8fafd

@0crat
Copy link

@0crat 0crat commented on 1a8fafd Sep 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yegor256 It is not a good idea to push directly to the default branch master. You've earned -16 points. Next time, create a new branch, push your changes over there, then make a pull request and merge it. Even if you are flying solo, contributing via pull requests is a good practice. Your running balance is -224.

Please sign in to comment.