Skip to content

Commit 1fd4fa4

Browse files
sjnimsclaude
andcommitted
fix: indent YAML properties under with: in nested example
The nested markdown example had with: properties not indented, which would produce invalid YAML when copy-pasted into a README. Properly indent anthropic_api_key, prompt, and claude_args under with:. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e7a8045 commit 1fd4fa4

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

plugins/plugin-dev/skills/plugin-structure/references/github-actions.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,12 @@ Include example workflow snippets in your plugin README:
208208
Add to `.github/workflows/claude.yml`:
209209

210210
\`\`\`yaml
211-
212211
- uses: anthropics/claude-code-action@v1
213212
with:
214-
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
215-
prompt: "Analyze code using [your-plugin] standards"
216-
claude_args: "--max-turns 15 --allowedTools 'Read,Grep,Glob'"
217-
\`\`\`
213+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
214+
prompt: "Analyze code using [your-plugin] standards"
215+
claude_args: "--max-turns 15 --allowedTools 'Read,Grep,Glob'"
216+
\`\`\`
218217
```
219218

220219
### Ensure CI Compatibility

0 commit comments

Comments
 (0)