forked from anthropics/claude-code-action
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
Hey, the code fails on this step, because it does not see mrIid in context. This is due to pipeline being run manually by webhook service.
| if (this.context.mrIid) { |
The proper MR id and resource type is detected:
Processing GitLab webhook event...
Event type:
Processing Claude webhook trigger...
Project: **
Resource Type: merge_request
Resource ID: 2026
Branch: mh/spotify-fetch-items
Author: bimusiek
Note: @Claude Can you make a review of this PR? Pay attention to refactored code, so it stays the same.
But later it is not taken into consideration.
Workaround that helped is:
export CI_MERGE_REQUEST_IID=$CLAUDE_RESOURCE_ID
export CLAUDE_RESOURCE_ID=
Metadata
Metadata
Assignees
Labels
No labels