Skip to content

fix: rerun reviews on PR updates#3

Merged
QueryPlanner merged 1 commit into
mainfrom
codex/rerun-opencode-reviews
Jun 13, 2026
Merged

fix: rerun reviews on PR updates#3
QueryPlanner merged 1 commit into
mainfrom
codex/rerun-opencode-reviews

Conversation

@QueryPlanner

@QueryPlanner QueryPlanner commented Jun 13, 2026

Copy link
Copy Markdown
Owner

What

Run OpenCode reviews when pull requests receive new commits or are reopened.

Why

The workflow previously ran only when a pull request was first opened, so updates could not receive a fresh review.

How

  • Trigger OpenCode on synchronized pull requests
  • Trigger reviews when pull requests reopen or become ready

Tests

  • Run git diff --check
  • Parse the workflow as YAML
  • Confirm the OpenCode check completes on this PR

Related Issues

Follow-up to #2.

- Trigger OpenCode when pull request commits change
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@github-actions

Copy link
Copy Markdown

PR Review: fix: rerun reviews on PR updates

Change: .github/workflows/opencode.yml — expands the pull_request trigger types from [opened] to [opened, synchronize, reopened, ready_for_review].

Assessment: Looks correct.

The if: condition at line 13 already handles github.event_name == 'pull_request', so all four event subtypes will correctly pass through to the job. The additions are appropriate:

  • synchronize — re-runs review when new commits are pushed (the main goal)
  • reopened — re-runs review when a closed PR is reopened
  • ready_for_review — re-runs review when a draft PR is marked ready

No issues found. LGTM.

New%20session%20-%202026-06-13T17%3A48%3A22.528Z
opencode session  |  github run

@QueryPlanner QueryPlanner merged commit f86a4ea into main Jun 13, 2026
1 check passed
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