feat: review_only input and an enumeration check in the monthly prompt
tests / unittest (push) Successful in 23s
tests / unittest (push) Successful in 23s
review_only names listed documents the drafter may read but not edit. They stay in stage 1, are listed separately in the prompt, and a change to one fails the run like a change outside docs. Each entry must match a docs pattern. The monthly prompt now makes checking every list and count in the top-level documents against the repository the drafter's main job. Mode-specific text moves to prompts/mode-pr.md and prompts/mode-monthly.md; the pr text is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f39409e62c
commit
9dea56ce98
15 files changed
+223
-29
No files matched your search
@@ -30,6 +30,11 @@ on:
|
||||
type: string
|
||||
required: false
|
||||
default: README.md
|
||||
review_only:
|
||||
description: "Newline-separated paths or globs within docs that the drafter may read but not edit"
|
||||
type: string
|
||||
required: false
|
||||
default: ""
|
||||
source_dirs:
|
||||
description: "Newline-separated directories whose new files count toward uncovered"
|
||||
type: string
|
||||
@@ -95,6 +100,7 @@ jobs:
|
||||
INPUT_DOCS: ${{ inputs.docs }}
|
||||
INPUT_GENERATED: ${{ inputs.generated }}
|
||||
INPUT_TOP_LEVEL: ${{ inputs.top_level }}
|
||||
INPUT_REVIEW_ONLY: ${{ inputs.review_only }}
|
||||
INPUT_SOURCE_DIRS: ${{ inputs.source_dirs }}
|
||||
INPUT_WORKSTREAM: ${{ inputs.workstream }}
|
||||
INPUT_TRACKING_ISSUE: ${{ inputs.tracking_issue }}
|
||||
|
||||
Reference in new issue
Block a user