Skip to content

Commit

Permalink
fix: template library should use hardcoded secret not PactFlow only f…
Browse files Browse the repository at this point in the history
…eature
  • Loading branch information
YOU54F committed Dec 8, 2023
1 parent 3995011 commit ca264dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/pact_broker/webhooks/template_library.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Trigger a build in GitHub using the repository_dispatch event.
"headers": {
"Content-Type": "application/json",
"Accept": "application/vnd.github.everest-preview+json",
"Authorization": "Bearer ${user.GithubToken}"
"Authorization": "Bearer <YOUR_GITHUB_TOKEN>"
},
"body": {
"event_type": "contract_requiring_verification_published",
Expand Down Expand Up @@ -70,7 +70,7 @@ Trigger a build in GitHub using the repository_dispatch event.
"headers": {
"Content-Type": "application/json",
"Accept": "application/vnd.github.everest-preview+json",
"Authorization": "Bearer ${user.GithubToken}"
"Authorization": "Bearer <YOUR_GITHUB_TOKEN>"
},
"body": {
"event_type": "pact_changed",
Expand Down

0 comments on commit ca264dc

Please sign in to comment.