go-scm icon indicating copy to clipboard operation
go-scm copied to clipboard

Capture commit message for Bitbucket Server (Stash) push events

Open kotyara85 opened this issue 5 years ago • 1 comments

Hi, I saw this issue - https://discourse.drone.io/t/ci-skip-skip-ci-not-working/3914 Per Bit Bucket docs they do send the commit message - https://support.atlassian.com/bitbucket-cloud/docs/event-payloads/ Is there bandwidth for you guys to fix this? Thanks

kotyara85 avatar Sep 20 '20 18:09 kotyara85

we used real webhook payloads when writing this library and creating our unit tests. If you look the webhook payload from the push event you will see that no commit message is provided. https://github.com/drone/go-scm/blob/master/scm/driver/stash/testdata/webhooks/push.json

if something changes, we would certainly accept a pull request that improved this behavior.

bradrydzewski avatar Sep 21 '20 14:09 bradrydzewski