Skip to content

Commit 805085e

Browse files
committed
Fix workflow
1 parent 2961b31 commit 805085e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/claude-update-error-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ jobs:
162162
163163
For each identifier, create `website/errors/<identifier>.md` following the file format, content guidelines, and tone described in `website/errors/CLAUDE.md`. Read that file before generating any markdown.
164164
165+
Each file's frontmatter MUST include a `shortDescription` field — one sentence (ending with a period) describing when the error is reported, from a user's perspective. For example: `"Accessing a private property from outside the declaring class."` or `"Loose comparison using == will always evaluate to true."`. This description should capture the essence of the error — what code pattern triggers it — without mentioning PHPStan internals.
166+
165167
## Step 5: Write a summary
166168
167169
After completing the fix, write two files:
@@ -200,7 +202,7 @@ jobs:
200202
echo "${delimiter}"
201203
} >> "$GITHUB_OUTPUT"
202204
else
203-
echo "pr_bodyUpdate error identifiers docs" >> "$GITHUB_OUTPUT"
205+
echo "pr_body=Update error identifiers docs" >> "$GITHUB_OUTPUT"
204206
fi
205207
206208
- name: "Create Pull Request"

0 commit comments

Comments
 (0)