Skip to content
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

🐛 fix(provider-verification): allow empty tags when using pending pacts #521

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

gaeljw
Copy link
Collaborator

@gaeljw gaeljw commented Dec 10, 2023

Solves #520

Enabling pending pacts now requires to have either tags or branch set for the provider (but one of them can be undefined).

As the providerBranch is already set when calling verifyPacts, I didn't add it as a parameter to the PactBrokerWithSelectors class like the providerTags currently are. I'm not entirely sure if this matches the desired code architecture or not.

I took this opportunity to flag as deprecated all methods referring to the providerTags in PactBrokerWithSelectors.

@gaeljw gaeljw added the bug Something isn't working label Feb 29, 2024
@gaeljw gaeljw self-assigned this Feb 29, 2024
@gaeljw gaeljw added this to the 0.11.0 milestone Feb 29, 2024
@jbwheatley
Copy link
Owner

@gaeljw could you try repushing this to see if the workflow triggers

@gaeljw
Copy link
Collaborator Author

gaeljw commented Feb 29, 2024

Look's it's working now. Thanks @jbwheatley

@gaeljw gaeljw force-pushed the gh520 branch 4 times, most recently from fbcc7c1 to 1ea3c7a Compare March 1, 2024 17:32
@gaeljw gaeljw merged commit 21f7965 into jbwheatley:main Mar 2, 2024
1 check passed
@gaeljw gaeljw deleted the gh520 branch March 2, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants