Commit d03e86e
Add Claude GitHub Actions integration (#9)
* "Claude PR Assistant workflow"
* "Claude Code Review workflow"
* chore: remove automatic PR review workflow
Remove automatic Claude PR review workflow as repository already has a PR reviewer in place.
Keep the @claude mention workflow (claude.yml) for on-demand assistance.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* fix: add newline at end of claude.yml
Fix linting error by ensuring file ends with a newline.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* fix: trigger on issue edited instead of assigned
Change Claude workflow to trigger on issue edit events instead of assignment events for better workflow integration.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* feat: add timeout and concurrency controls to Claude workflow
Add safeguards to prevent runaway or duplicate jobs:
- Set 10 minute timeout for job execution
- Configure concurrency grouping by event type and issue/PR number
- Enable cancel-in-progress to stop duplicate runs
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* feat: restrict Claude workflow to authorized users only
Add author association checks to ensure only repository owners, members, and collaborators can trigger the Claude workflow. This prevents unauthorized users from triggering potentially expensive or sensitive operations.
Changes:
- Check author_association for all event types
- Require OWNER, MEMBER, or COLLABORATOR status
- Add null checks for review and issue bodies
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* security: pin claude-code-action to specific commit SHA
Pin action to verified commit SHA instead of mutable tag for supply chain security. This prevents potential attacks where a tag could be moved to malicious code.
- Pin to e8bad572273ce919ba15fec95aef0ce974464753 (v1 release)
- Add inline comment for version reference
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* refactor: simplify author association checks
Replace verbose OR chains with concise contains() + fromJson() pattern
for checking author associations. This improves readability and
maintainability.
Before: Multiple OR conditions for each event type
After: contains(fromJson('["OWNER","MEMBER","COLLABORATOR"]'), author_association)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>1 parent 24083cf commit d03e86e
1 file changed
+70
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
0 commit comments