Skip to content

Commit 476b510

Browse files
Jonathan Muchaclaude
andcommitted
fix: drop pipeline_id from commit status payload
pipeline_id causes 404 when sha/ref don't match the pipeline. ref alone is sufficient for uniqueness. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f91653f commit 476b510

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

socketsecurity/core/scm/gitlab.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,9 +284,6 @@ def set_commit_status(self, state: str, description: str, target_url: str = '')
284284
}
285285
if self.config.mr_source_branch:
286286
payload["ref"] = self.config.mr_source_branch
287-
pipeline_id = os.getenv("CI_PIPELINE_ID")
288-
if pipeline_id:
289-
payload["pipeline_id"] = int(pipeline_id)
290287
if target_url:
291288
payload["target_url"] = target_url
292289
try:

0 commit comments

Comments
 (0)