fix: show branch name in push events in HTML reports
We used to parse the ref name to find out the branch name, when creating a trigger message. The CI events now do that for us. This meant that parsing the branch name failed, and resulted in the empty string.
Fix this by using already-parsed branch name from the CI event instead of trying to parse it again.
Signed-off-by: Lars Wirzenius liw@liw.fi
We used to parse the ref name to find out the branch name, when creating a trigger message. The CI events now do that for us. This meant that parsing the branch name failed, and resulted in the empty string.
Fix this by using already-parsed branch name from the CI event instead of trying to parse it again.
Signed-off-by: Lars Wirzenius liw@liw.fi