Hello everyone! I'm just wondering if the webhook ...
# pactflow
d
Hello everyone! I'm just wondering if the webhook "Contract published that requires verification" should be triggered should cover initial contract publishing? I expected it should, but when I started testing, it was triggered only in case the existing contract was updated. When I choose "Contract published" option for webhook is is triggered successfully, but with option "Contract published that requires verification" - not.
m
I believe the behaviour you’re seeing is correct, because it doesn’t know which version of the provider to target yet.
👍 1
d
Thank you Matt! So in order to support initial contract publishing I have to turn on option "Contract published with changed content" as well, right?
👍 1
m
I suppose. I would just manually run the provider build. The issue with the other event is it just says "run the provider build" but doesn't tell you which version to build.