bitrise-steplib / steps-gitlab-status

MIT License
4 stars 15 forks source link

Add `git_branch` variable to be sent as `ref` to Gitlab #12

Closed emir-rubicon closed 4 years ago

emir-rubicon commented 5 years ago

While adding Gitlab Status to our Bitrise workflow we had an issue where if the same commit (same hash) exists on multiple branches the status will be reported only on the default one since the ref param was not being sent and Gitlab would default to the defined default branch.

This PR adds the branch name as the ref param to the request being sent out by passing in the $BITRISE_GIT_BRANCH.

benjohnde commented 4 years ago

When can we see this merged?

lpusok commented 4 years ago

Hello @emir-rubicon , @benjohnde Sorry for the extended delay on this. Merged (as part of https://github.com/bitrise-steplib/steps-gitlab-status/pull/20) and released a new step version: https://github.com/bitrise-steplib/steps-gitlab-status/releases/tag/0.12.0.

Thanks for the contribution!