atlantis icon indicating copy to clipboard operation
atlantis copied to clipboard

fix: link latest commit to the correct pipeline

Open rgs1 opened this issue 1 year ago • 0 comments

PR #4785 was a partial fix, as it might link a commit to the wrong pipeline when GitLab is slow to update the HeadPipeline.

This patch ensures the latest commit is always linked to the correct pipeline by querying the pipeline associated with the commit's ref, instead of relying on HeadPipeline.

Tested in our environment and it looks good so far.

Signed-off-by: Raul Gutierrez Segales [email protected]

rgs1 avatar Aug 21 '24 18:08 rgs1