Skip to content

Commit

Permalink
testing workflow api
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeet-joy_xero committed Sep 20, 2024
1 parent f06dd84 commit af884ee
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,17 @@ jobs:
const token = await getAccessToken()
return token
- name: Fetching all workflows in codegen
run: |
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ steps.get_access_token.outputs.result }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/xero-internal/xeroapi-sdk-codegen/actions/workflows
- name: Calling node SDK workflow
run: |
curl --fail-with-body \
curl -L \
-XPOST \
-H 'Authorization: Bearer ${{ steps.get_access_token.outputs.result }}' \
-H "Accept: application/vnd.github.everest-preview+json" \
Expand Down

0 comments on commit af884ee

Please sign in to comment.