You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/auto-llms-txt.yml
+18-4Lines changed: 18 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,9 @@ jobs:
39
39
git config user.email "cursoragent@cursor.com"
40
40
41
41
- name: Update LLMs.txt files
42
-
timeout-minutes: 20
42
+
timeout-minutes: 1
43
+
continue-on-error: true
44
+
id: agent_run
43
45
env:
44
46
MODEL: gpt-5
45
47
CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }}
@@ -48,8 +50,6 @@ jobs:
48
50
run: |
49
51
cursor-agent -p "You are operating in a GitHub Actions runner to automatically update llms.txt and llms-full.txt files.
50
52
51
-
YOU SHOULD TIMEOUT AFTER 2 MINUTES AND THEN EXIT.
52
-
53
53
The GitHub CLI is available as \`gh\` and authenticated via \`GH_TOKEN\`. Git is available. You have write access to repository contents and can comment on pull requests, but you must not create or edit PRs directly.
54
54
55
55
# Context:
@@ -105,4 +105,18 @@ jobs:
105
105
- If updates needed: Pushed commits to the persistent branch and a PR comment with compare link
106
106
- If no updates needed: A brief comment explaining why no updates are required
107
107
- Keep all changes minimal and consistent with existing documentation style
108
-
" --force --model "$MODEL" --output-format=text
108
+
" --force --model "$MODEL" --output-format=text
109
+
110
+
- name: Handle timeout or completion
111
+
if: always()
112
+
run: |
113
+
if [ "${{ steps.agent_run.outcome }}" == "failure" ]; then
114
+
echo "⏰ Agent timed out after 20 minutes - this is expected for long-running analysis"
0 commit comments