TruCol/Self-host-GitLab-CI-for-GitHub

Only export branch icon if it is head of branch.

Closed this issue · 1 comments

a-t-0 commented

Get the commit sha of head of branch, then check if the current commit sha equals that sha, and if yes, then export the branch icon, otherwise don't export branch icon.

Do this for run_ci_on_commit.sh (Can also do for run_ci_on_github_repo however, in that case the two commit sha's should always be equal as it only runs on head there.)

a-t-0 commented

Done.