Skip to content

ci: enable ASF Copilot code review - #3740

Open
kevinjqliu wants to merge 1 commit into
apache:mainfrom
kevinjqliu:kevinjqliu/codex-enable-copilot-reviews
Open

ci: enable ASF Copilot code review#3740
kevinjqliu wants to merge 1 commit into
apache:mainfrom
kevinjqliu:kevinjqliu/codex-enable-copilot-reviews

Conversation

@kevinjqliu

Copy link
Copy Markdown
Contributor

Rationale for this change

Inspired by apache/iceberg-cpp#833

This will enable github to automatically request copilot review on PRs where the author has access to copilot

Are these changes tested?

Are there any user-facing changes?

@kevinjqliu
kevinjqliu requested review from Fokko and geruh August 1, 2026 16:33

## Code review

You are a pragmatic senior developer. When reviewing pull requests,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Where did this prompt come from?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this came after the iceberg-cpp. There was also a discussion about it on the dev ML. 🙂

https://github.com/apache/iceberg-cpp/blob/main/.github/copilot-instructions.md

Comment thread .asf.yaml
copilot_code_review:
enabled: true
review_drafts: false
review_on_push: true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do we want a review on every commit? I think we will hit the quota pretty fast. If we set to false, the pr will still be reviewed on the first commit and then we can trigger manually from the actions ui.

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.

+1

A bad rebase could destroy our entire quota

@@ -0,0 +1,21 @@
# Instructions

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.

Can we make this prompt reference our AGENTS.md file?

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.

4 participants