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
17 changes: 12 additions & 5 deletions .github/workflows/vale-autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ jobs:
else
git add -A docs/
git commit -m "fix(vale): auto-fix substitutions and removals"
git push
echo "committed=true" >> "$GITHUB_OUTPUT"
fi

Expand Down Expand Up @@ -188,10 +187,9 @@ jobs:
```bash
git add -A docs/
git commit -m "fix(vale): auto-fix rewrites (AI-assisted)"
git push
```

IMPORTANT: Write the summary JSON file BEFORE committing. Do not post any PR comments.
IMPORTANT: Write the summary JSON file BEFORE committing. Do NOT run git push — the workflow handles pushing. Do not post any PR comments.
claude_args: '--allowedTools "Bash(git:*),Read,Write,Edit,Glob,Grep"'

- name: Phase 3 — Dale fixes
Expand Down Expand Up @@ -237,12 +235,21 @@ jobs:
```bash
git add -A docs/
git commit -m "fix(dale): auto-fix documentation issues (AI-assisted)"
git push
```

IMPORTANT: Write the summary JSON file BEFORE committing. Do not post any PR comments.
IMPORTANT: Write the summary JSON file BEFORE committing. Do NOT run git push — the workflow handles pushing. Do not post any PR comments.
claude_args: '--allowedTools "Bash(git:*),Read,Write,Edit,Glob,Grep"'

- name: Push all fixes
if: steps.bot-check.outputs.skip != 'true' && steps.changed-files.outputs.count > 0
run: |
if [ "$(git rev-list @{u}..HEAD --count 2>/dev/null)" -gt 0 ]; then
echo "Pushing $(git rev-list @{u}..HEAD --count) commit(s)..."
git push
else
echo "No new commits to push"
fi

- name: Build and post summary comment
if: steps.bot-check.outputs.skip != 'true' && steps.changed-files.outputs.count > 0
env:
Expand Down
Loading
Loading