Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/claude-documentation-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ jobs:
if: steps.changed-files.outputs.count > 0
id: read-prompt
run: |
# Read from public repo's agents directory (synced from private repo)
if [ ! -f "agents/engineering/technical_writing/technical_writer/system.md" ]; then
echo "::warning::System prompt file not found at agents/engineering/technical_writing/technical_writer/system.md, proceeding without it"
# Read from public repo's .claude/agents directory (synced from private repo)
if [ ! -f ".claude/agents/engineering/technical_writing/technical_writer/system.md" ]; then
echo "::warning::System prompt file not found at .claude/agents/engineering/technical_writing/technical_writer/system.md, proceeding without it"
echo "prompt=" >> "$GITHUB_OUTPUT"
exit 0
fi

{
echo "prompt<<EOF"
cat agents/engineering/technical_writing/technical_writer/system.md
cat .claude/agents/engineering/technical_writing/technical_writer/system.md
echo "" # Forces a newline to prevent EOF delimiter errors
echo "EOF"
} >> "$GITHUB_OUTPUT"
Expand Down