-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure commit sha is always passed to Message #24
base: master
Are you sure you want to change the base?
Ensure commit sha is always passed to Message #24
Conversation
I'm not sure about this change, as I looked at |
Thanks for the detailed analysis, @tobischo! I'll try to take a look at it over the weekend 👍 |
Hey @ashkulz |
Can confirm this is still a problem.
The runners we are using are:
Removing |
this will solve my problem. |
Sorry, this got lost in my to do list. I'll take a look at it in the evening. |
@ashkulz Gentle reminder for this 🙂 |
@tobischo thanks for the reminder, I'll review this on the weekend. Sorry for the delay 🙈 |
Maybe this weekend? 😄 |
Or this one? 😉 |
Sorry, there's been a lot of sickness in sequence in the family. I'll do it this weekend, I promise 🙈 |
No need to explain or apologize. Therefore, no rush, just gentle reminders as I also know how easily something like this can be forgotten about |
c7d9be8
to
2f39674
Compare
Alright, I resolved the conflict that got in from another change in the meantime. Gentle reminder for a review as well |
It's been a while 😄 |
In #18 the issue is raised the gitlab API cannot be correctly addressed with the gem in the state it is right now.
This seems to be happening because the commit sha is set to nil in any case
pronto-eslint/lib/pronto/eslint.rb
Line 41 in 46848c9
Lines would provide the commit sha correctly for the change and the error caused by it, but those are only accessed for non fatal errors.
The commit sha is also stored at the top level
@patches
variable which can provide it for the commit that was last pushed/on which the check is running. In for fatal errors it is possible then to use this commit message to attach the messages