Commit 24ef9f4
Fix pre-commit workflow for push events
- Extract FROM_REF variable to eliminate duplication
- Use github.base_ref || 'HEAD~1' to handle both push and PR events
- Add || true to git fetch to handle cases where ref doesn't exist
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 2e3c912 commit 24ef9f4
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments