Skip to content

Commit

Permalink
chore: use pact-foundation.pactflow.io instead of pact-oss.pactflow.io
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Sep 4, 2023
1 parent 57b393d commit 1b9f7a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Verify pacts
run: "GIT_SHA=${GITHUB_SHA} GIT_BRANCH=${GITHUB_REF##*/} bundle exec rake pact:verify"
env:
PACTFLOW_PACT_OSS_TOKEN: ${{ secrets.PACTFLOW_PACT_OSS_TOKEN }}
PACTFLOW_PACT_FOUNDATION_TOKEN: ${{ secrets.PACTFLOW_PACT_FOUNDATION_TOKEN }}
bundle-audit:
if: "!contains(github.event.head_commit.message, '[ci-skip]')"
runs-on: "ubuntu-latest"
Expand Down
4 changes: 2 additions & 2 deletions spec/service_consumers/pact_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ def do_not_rollback? _response
app_version_tags [ENV["GIT_BRANCH"]] if ENV["GIT_BRANCH"]
publish_verification_results ENV["CI"] == "true"

if ENV.fetch("PACTFLOW_PACT_OSS_TOKEN", "") != ""
if ENV.fetch("PACTFLOW_PACT_FOUNDATION_TOKEN", "") != ""
honours_pacts_from_pact_broker do
pact_broker_base_url "https://pact-oss.pactflow.io", token: ENV["PACTFLOW_PACT_OSS_TOKEN"]
pact_broker_base_url "https://pact-foundation.pactflow.io", token: ENV["PACTFLOW_PACT_FOUNDATION_TOKEN"]
consumer_version_selectors [
{ tag: "master", latest: true }
]
Expand Down

0 comments on commit 1b9f7a8

Please sign in to comment.