Skip to content

Commit

Permalink
Added the bearer in the curl command
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeet-joy_xero committed Sep 20, 2024
1 parent fdacb25 commit f06dd84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
run: |
curl --fail-with-body \
-XPOST \
-H 'Authorization: token ${{ steps.get_access_token.outputs.result }}' \
-H 'Authorization: Bearer ${{ steps.get_access_token.outputs.result }}' \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/xero-internal/xeroapi-sdk-codegen/actions/workflows/codegen-node-pr.yml/dispatches \
-d '{"ref":"PETOSS-536-enabling-workflow-dispatch","inputs":{"branch_name":"master"}}'

0 comments on commit f06dd84

Please sign in to comment.