-
Notifications
You must be signed in to change notification settings - Fork 328
fix(daily-doc-updater): handle new-file creation requests in Step 1b #24742
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -97,8 +97,11 @@ repo:${{ github.repository }} is:issue is:open label:documentation | |||||
| For each open issue: | ||||||
| 1. Read the issue body to understand the described gap. | ||||||
| 2. Check the referenced documentation file to verify the gap still exists. | ||||||
| - **If the issue references an existing file**: confirm the content is missing or incorrect. | ||||||
| - **If the issue references a file path that does not yet exist** (e.g., body says "Create `docs/guides/foo.md`"): treat this as a **confirmed new-file gap** and proceed to Step 5 to create the file. | ||||||
| 3. If confirmed, include a fix in this run's PR and reference the issue with `Closes #NNN`. | ||||||
| 4. If the gap is already fixed, note it (do not reopen or comment on the issue). | ||||||
| 4. If the gap is already fixed (file exists and contains the described content), note it and skip. | ||||||
| 5. If you choose not to address an open documentation issue in this run (e.g., it requires structural navigation changes, is out of scope, or cannot be confirmed), record it in the **Skipped Issues** section of the PR description (see Step 6). | ||||||
|
||||||
| 5. If you choose not to address an open documentation issue in this run (e.g., it requires structural navigation changes, is out of scope, or cannot be confirmed), record it in the **Skipped Issues** section of the PR description (see Step 6). | |
| 5. If you choose not to address an open documentation issue in this run (e.g., it requires structural navigation changes, is out of scope, or cannot be confirmed), you must still record it. If this run creates a PR, record it in the **Skipped Issues** section of the PR description (see Step 6). If this run makes no documentation changes and would otherwise `noop`, include the skipped issues and the reason each was skipped in the `noop` message or final run summary so they are still reported even without a PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example new-file path
docs/guides/foo.mddoesn’t exist in this repo (docs live underdocs/src/content/docs/...). Using a non-existent path in the instructions could mislead the agent into creating files in the wrong location; update the example (and wording, if needed) to reference the actual docs tree used here.