Skip to content

fix: remove branches filter from pr-review workflow trigger#2804

Closed
RabbiIslamRony wants to merge 2 commits intosovware:developmentfrom
RabbiIslamRony:fix/pr-review-trigger
Closed

fix: remove branches filter from pr-review workflow trigger#2804
RabbiIslamRony wants to merge 2 commits intosovware:developmentfrom
RabbiIslamRony:fix/pr-review-trigger

Conversation

@RabbiIslamRony
Copy link
Copy Markdown
Member

Problem

The claude-review workflow uses pull_request_target with branches: [development], but the workflow has never triggered on any PR. The branches filter on pull_request_target appears to match against the HEAD (feature) branch name rather than the PR's base branch, so development never matches.

Fix

Remove the branches: [development] filter. The workflow is safe without it — pull_request_target runs in the base repo context with only contents: read permission and checks out a pinned SHA, so no untrusted code can run.

Testing

Once this is merged into development, opening any PR against development should trigger the Claude Code Review workflow.

@RabbiIslamRony
Copy link
Copy Markdown
Member Author

Closing in favor of a clean branch (previous branch accidentally included an unrelated commit).

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.

1 participant