abcxyz / abcxyz/guardian

GitLab implementation needs to look up MR IID from commit SHA for apply to report status

Open
#464 0 comments 0 reactions 1 assignee Claimed by @gjonathanhong View on GitHub
enhancement
Dominant language
Go
Stars
26
Forks
7
Avg merge
1d 1h
Merged PRs (30d)
1

Description

### TL;DR

`CI_MERGE_REQUEST_IID` is not available on `push` events.

v3.0.0-alpha2

### Detailed design

```markdown

```

### Alternatives considered

```markdown

```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue mentions that CI_MERGE_REQUEST_IID is not available on push events in GitLab. Look at the existing GitLab integration code in the repository, likely under a directory like 'internal/gitlab' or 'pkg/gitlab'. Find where commit statuses are reported and understand how to query the GitLab API to get the merge request IID from a commit SHA. Check for existing tests around GitLab functionality to see the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
gitlab
Domain
ci-cd, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.