Skip to content

Wrong configuration for merge requests #5

@bimusiek

Description

@bimusiek

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.

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions