From 698680926deae60ece492f3dfc9ae0af3c828da8 Mon Sep 17 00:00:00 2001 From: finn Date: Thu, 21 Dec 2023 16:52:27 -0800 Subject: [PATCH] add more headers --- .github/workflows/tests-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests-ci.yml b/.github/workflows/tests-ci.yml index 5f45399dc..a507bf06a 100644 --- a/.github/workflows/tests-ci.yml +++ b/.github/workflows/tests-ci.yml @@ -82,7 +82,13 @@ jobs: - name: trigger sdk-development report build run: | - curl -H "Authorization: Bearer ${APP_TOKEN}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/TBD54566975/sdk-development/actions/workflows/build-report.yaml/dispatches --data '{"ref": "main"}' + curl -L \ + -H "Authorization: Bearer ${APP_TOKEN}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + -H "Content-Type: application/json" \ + -v + --data '{"ref": "main"}' \ + https://api.github.com/repos/TBD54566975/sdk-development/actions/workflows/build-report.yaml/dispatches env: APP_TOKEN: ${{ steps.generate_token.outputs.token }}