llama-stack-mirror/.github
Ashwin Bharambe 5a44b9ff82
feat: add comment-triggered pre-commit bot for PRs (#3672)
## Summary

This PR adds a comment-triggered GitHub Actions workflow that allows
running pre-commit hooks on-demand for any pull request. When someone
comments `@github-actions run precommit` on a PR, the bot automatically
runs all pre-commit hooks and commits any formatting or linting fixes
directly to the PR branch.

The implementation uses a secure two-workflow approach: a trigger
workflow validates permissions and dispatches to an execution workflow
that runs pre-commit in a privileged context. This works safely for both
same-repo and fork PRs, with permission checks ensuring only PR authors
or repository collaborators can trigger the bot.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-03 11:51:40 -07:00
..
actions revert: feat(ci): use @next branch from llama-stack-client (#3593) 2025-09-29 10:41:04 -07:00
ISSUE_TEMPLATE docs: fix broken links (#3647) 2025-10-01 16:48:13 -07:00
workflows feat: add comment-triggered pre-commit bot for PRs (#3672) 2025-10-03 11:51:40 -07:00
CODEOWNERS chore: Add slekkala1 to codeowners (#2817) 2025-07-18 10:33:30 -07:00
dependabot.yml fix(ci): dependabot update had a bug 2025-08-20 16:34:50 -07:00
PULL_REQUEST_TEMPLATE.md chore: fix visible comments in pr template (#2279) 2025-05-27 15:42:33 +02:00
TRIAGERS.md chore: Update TRIAGERS.md (#3186) 2025-08-18 10:23:51 -07:00