Update coder workflow to latest coder-action recommendations#70
Merged
Update coder workflow to latest coder-action recommendations#70
Conversation
- Add pull_request_review_comment and pull_request_review event triggers - Add new pr-review-comment and pr-review jobs for inline review feedback - Add pr-author filter (xmtp-coder-agent) to pr-comment job condition - Remove github-token input from all jobs (no longer needed) - Update create-task prompt to use recommended autonomous agent prompt Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
neekolas
reviewed
Mar 24, 2026
| action: pr_comment | ||
| coder-url: ${{ secrets.CODER_URL }} | ||
| coder-token: ${{ secrets.CODER_TOKEN }} | ||
| github-token: ${{ github.token }} |
Collaborator
There was a problem hiding this comment.
We still want to explicitly pass the GitHub token in all workflows.
Every action invocation requires github-token explicitly passed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #69
Summary
Updates
.github/workflows/coder.ymlto align with the latest recommendations from the coder-action README:pull_request_review_commentandpull_request_reviewevents so the agent receives inline review comments and PR review submissionspr-review-commentandpr-reviewjobs to forward these new events to the Coder taskgithub.event.issue.user.login == 'xmtp-coder-agent'condition topr-commentjob so it only processes comments on PRs created by the agentgithub-token: Dropped thegithub-tokeninput from all jobs (no longer required by the action)create-taskprompt from a blank space to the recommended autonomous agent promptTest plan
xmtp-coder-agentand confirm task creation works🤖 Generated with Claude Code
Note
Update coder workflow to handle PR review and review comment events
pull_request_reviewandpull_request_review_commentevent triggers to coder.yml, with two new jobs that forward submitted reviews and inline review comments to the Coder Task when the PR was authored byxmtp-coder-agentand the reviewer is not the agent.pr-commentjob to only fire when the PR author isxmtp-coder-agent.create-taskprompt from a single space to a multi-line instruction telling the agent to read the issue, post a plan comment, then implement and open a PR.Macroscope summarized d9a7724.