Commit Graph
4 Commits
Author SHA1 Message Date
Alex Waygood a0358433d2 Restore automatic PR labels and the ty title prefix (#30275) 2026-11-10 18:01:21 +00:00
zaniebot f94677a7de Assign reviewers to pull requests from forks (#30272) 2026-11-10 16:52:08 +00:00
Zanie Blueandzaniebot 5fabb6f32c Handle AI policy labels through Actions (#29676)
Handle `bot:ai-policy-comment` and `bot:ai-policy-close` on issues and
pull requests with the shared `ai-policy` action. The automation
dispatcher runs `ai-policy.yml` on `main`, where an STS-issued
`astral-automations-bot` token posts the policy reminder and optionally
closes the target.

Draft and fork PRs are supported. The workflow checks the current label
and state without checking out PR code.

Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
2026-10-23 16:42:22 +00:00
Zanie Blueandzaniebot 332cacc6a3 Move pull request reviewer selection to GitHub Actions (#29613)
Move reviewer selection from `astral-bot` into a serialized Actions
worker triggered by Ruff's dispatch policy. The worker uses the
repository's reviewer pools and requests reviews as
`astral-automations-bot[bot]` using STS. Store round-robin credits in
`workflow` scope, with read and write access restricted to
`pull-request-reviewers.yml` on `main` in the `automations` environment.
When no reviewer state is stored, credits start at zero.

---------

Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
2026-10-21 22:32:14 -07:00