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
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -98,16 +98,17 @@ jobs:
98
98
Analyze changes in the original PR and determine if they are significant enough to warrant updating the llms.txt and llms-full.txt files for the affected directories. If so, create a separate PR with the updates.
99
99
100
100
# Requirements:
101
-
1) Use \`gh pr diff\` to analyze what changed in the original PR
101
+
1) Use run_terminal_cmd to execute \`gh pr diff ${PR_NUMBER}\` to analyze what changed in the original PR
102
102
2) Determine which documentation directories are affected by the changes
103
103
3) Assess if the changes are significant enough to update the llms.txt files (new content, major restructuring, new features, etc.)
104
104
4) If changes are significant:
105
-
- Create or update a persistent branch named \`${BRANCH_PREFIX}/pr-${PR_NUMBER}\`
106
-
- Update the relevant llms.txt and llms-full.txt files to reflect the new documentation structure and content
107
-
- Push the changes to the branch
108
-
- Comment on the original PR with a summary and a compare link to create the PR
105
+
- Use run_terminal_cmd to create or update a persistent branch named \`${BRANCH_PREFIX}/pr-${PR_NUMBER}\`
106
+
- Use read_file to read existing llms.txt and llms-full.txt files
107
+
- Use search_replace or write to update the relevant llms.txt and llms-full.txt files
108
+
- Use run_terminal_cmd to push the changes to the branch
109
+
- Use run_terminal_cmd to comment on the original PR with a summary and a compare link
109
110
5) If changes are not significant:
110
-
- Comment on the original PR explaining that no llms.txt updates are needed
111
+
- Use run_terminal_cmd to comment on the original PR explaining that no llms.txt updates are needed
111
112
112
113
# File Format Guidelines:
113
114
- llms.txt files should be concise, focused summaries with key links
0 commit comments