Display only real branch name, not "refs/heads"#17
Conversation
ghost
left a comment
There was a problem hiding this comment.
No issues with your course have been found! You are good to go 🚀
|
Awesome! I noticed the same thing in #11 |
JasonEtco
left a comment
There was a problem hiding this comment.
Nice catch @brianamarie 👌 Looking at this diff, my immediate understanding is that the code is right before. Calling | replace(THING_TO_REPLACE, THING_TO_REPLACE_WITH) is what we want - that said, its obviously not doing it. I'll play around and let you know what I find out 👍
ghost
left a comment
There was a problem hiding this comment.
No issues with your course have been found! You are good to go 🚀
|
Since the switch to Liquid as the templating engine for responses, we can use the |
|
I am not sure if I will have bandwidth to test this this week, but I'd like to. @hectorsector @ppremk or other @githubtraining/learning-engineering if you have the bandwidth to test this, that would be very helpful to getting this merged 👍 |
|
@hectorsector @githubtraining/learning-engineering Is there anything I can do to help, (other than test which I'm not sure how to do)? |
hectorsector
left a comment
There was a problem hiding this comment.
Tested on my local LL instance and it checks out. Check here if you'd like to see the comment.
|
Thank you @hectorsector! |
Display only real branch name, not "refs/heads"
While going through learning lab with the participants in training this week, I saw that when opening a pull request, it shows "refs/heads" in addition to the branch name.
This pull request attempts to fix that. I haven't tested locally so I would ❤️ some review if anyone has time to get to it before I do.
cc @hectorsector @githubtraining/learning-engineering