Skip to content

Commit

Permalink
Use consumer name and branch to specify Pact to test
Browse files Browse the repository at this point in the history
`--url` unavoidably pulls in extra pacts

`--webhook-callback-url` doesn't exist on the published image

#patch
  • Loading branch information
gregtyler committed Jan 26, 2024
1 parent 3052fb6 commit 85509e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pact-provider-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
--publish \
--user=admin \
--password=${{ secrets.PACT_BROKER_PASSWORD }} \
--url=${{ github.event.client_payload.pact_url }}
--filter-consumer=${{ github.event.client_payload.pact_consumer_name }} \
--consumer-version-selectors='{\"branch\":\"${{ github.event.client_payload.pact_consumer_branch }}\"}'
- name: Verify pacts, including pending
if: ${{ github.event_name == 'push' }}
run: |
Expand Down

0 comments on commit 85509e7

Please sign in to comment.