File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 7373 - name : Fetch documentation files
7474 id : fetch-docs
7575 shell : bash
76+ timeout-minutes : 35
7677 run : |
7778 ENDPOINT_URL="https://server.codeboarding.org/github_action"
7879 REPO_URL="${{ steps.repo-url.outputs.repo_url }}"
8687 # Create temporary file for response
8788 TEMP_FILE=$(mktemp)
8889
90+ # Add periodic output to prevent GitHub Actions timeout due to no output
91+ (
92+ while true; do
93+ sleep 60 # Every minute
94+ echo "⏳ Still processing repository analysis... ($(date))"
95+ done
96+ ) &
97+ PROGRESS_PID=$!
98+
8999 # Make the API call with extended timeouts for long-running requests
90100 # --max-time: Maximum time for the entire operation (30 minutes)
91101 # --connect-timeout: Maximum time for connection establishment (60 seconds)
@@ -98,6 +108,10 @@ runs:
98108 --no-buffer \
99109 "$ENDPOINT_URL?url=$REPO_URL&source_branch=$SOURCE_BRANCH&target_branch=$TARGET_BRANCH&output_format=$OUTPUT_FORMAT")
100110 curl_exit_code=$?
111+
112+ # Stop the progress indicator
113+ kill $PROGRESS_PID 2>/dev/null || true
114+
101115 http_code=${response: -3}
102116
103117 echo "API response status code: $http_code"
You can’t perform that action at this time.
0 commit comments