Skip to content

ci: run LLM review via workflow_dispatch only#103

Merged
grische merged 1 commit into
mainfrom
ci/llm-review-dispatch-only
Jul 14, 2026
Merged

ci: run LLM review via workflow_dispatch only#103
grische merged 1 commit into
mainfrom
ci/llm-review-dispatch-only

Conversation

@grische

@grische grische commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Drop the pull_request/pull_request_target trigger and review PRs only when a maintainer manually dispatches the workflow with a PR number, keeping repository secrets away from untrusted fork PRs.

This intentionally drops automatic reviews even for trusted (non-fork) contributors: keeping two trigger paths, automatic for trusted PRs and manual for forks, would add complexity and make it less obvious when and why a review ran.

This supersedes and closes #102

Drop the pull_request/pull_request_target trigger and review PRs only
when a maintainer manually dispatches the workflow with a PR number,
keeping repository secrets away from untrusted fork PRs.

This intentionally drops automatic reviews even for trusted (non-fork)
contributors: keeping two trigger paths, automatic for trusted PRs and
manual for forks, would add complexity and make it less obvious when
and why a review ran.
@grische
grische marked this pull request as ready for review July 14, 2026 05:38

@philnewm philnewm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The approach of an optional AI review that can be triggered manually is fine for me.

@grische
grische merged commit 40099bd into main Jul 14, 2026
10 checks passed
@grische
grische deleted the ci/llm-review-dispatch-only branch July 14, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants