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
cursor-agent -p "You are operating in a GitHub Actions runner to automatically update llms.txt and llms-full.txt files.
62
70
63
71
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.
64
72
65
73
IMPORTANT: Before starting your analysis, check if the user wants to stop by running:
This is a docs repository with the following main directories that each contain llms.txt and llms-full.txt files:
@@ -94,7 +102,7 @@ jobs:
94
102
2) Determine which documentation directories are affected by the changes
95
103
3) Assess if the changes are significant enough to update the llms.txt files (new content, major restructuring, new features, etc.)
96
104
4) If changes are significant:
97
-
- Create or update a persistent branch named \`${{ env.BRANCH_PREFIX }}/pr-${{ github.event.pull_request.number }}\`
105
+
- Create or update a persistent branch named \`${BRANCH_PREFIX}/pr-${PR_NUMBER}\`
98
106
- Update the relevant llms.txt and llms-full.txt files to reflect the new documentation structure and content
99
107
- Push the changes to the branch
100
108
- Comment on the original PR with a summary and a compare link to create the PR
@@ -122,4 +130,4 @@ jobs:
122
130
- Keep all changes minimal and consistent with existing documentation style
123
131
124
132
CRITICAL: After completing ANY of the above actions (stop command, updates completed, or no updates needed), you MUST immediately exit by running 'exit 0'. Do not continue running or wait for additional input.
0 commit comments