Closed jezhodges closed 4 years ago
Cc'ing @foosinn
Nice work @jezhodges!
I'll update our test environment during the week and merge afterwards. Thanks!
Hey, any reason why you went with after~1 instead of master? May the default branch is the right thing to use here?
@foosinn if you are updating master directly, you cannot compare a SHA ref and master as master will be the latest.
So sha ref
-> merge to master -> master
so you can't compare, certainly in the Gitlab API. Interestingly the Gitlab API provides the Before SHA and After SHA but Drone doesn't pass it through so I might investigate if that's a bug in Drone.
Good catch!
Adds support for Gitlab repositories