From 071a6bf2180f9c3175d762100c9f1ae6e6272095 Mon Sep 17 00:00:00 2001 From: Greg Tyler Date: Wed, 3 Jan 2024 13:18:04 +0000 Subject: [PATCH] Use `--webhook-callback-url` when verifying pact Using `--url` triggers additional (incorrect) pacts to be tested, `--webhook-callback-url` ensures that only the one specified is used. #patch --- .github/workflows/pact-provider-verification.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pact-provider-verification.yml b/.github/workflows/pact-provider-verification.yml index 4dfae19c..827b9dfd 100644 --- a/.github/workflows/pact-provider-verification.yml +++ b/.github/workflows/pact-provider-verification.yml @@ -29,7 +29,7 @@ jobs: --publish \ --user=admin \ --password=${{ secrets.PACT_BROKER_PASSWORD }} \ - --url=${{ github.event.client_payload.pact_url }} + --webhook-callback-url=${{ github.event.client_payload.pact_url }} - name: Verify pacts, including pending if: ${{ github.event_name == 'push' }} run: |