Hi everyone! Anyone knows how can I verify the la...
# pact-broker
a
Hi everyone! Anyone knows how can I verify the lasted published pact even if not in master/main branch? I noticed that by default the master is always considered:
latest version of consumer from the main branch 'master' (0001)
How can I change it to get the latest version regardless the branch? Is possible with some specific selector? Thanks 🙂
m
Yes, https://docs.pact.io/pact_broker/advanced_topics/consumer_version_selectors But you shouldn’t do it. Why do you think you want to do this?
a
Im doint some tests to check different ways to verify our pacts… I noticed that even informing this “latest” = true, only the latest of the main branch is considered. Anyway, Im using one webhook to trigger one github action in my provider to verify the contract… In pact webhook is possible to inform the consumer branch name that triggered this provider and only verify the pact with this branch?
👍 1
m