From 6849a0ba8d9bd96542d330602de0125273ed0e60 Mon Sep 17 00:00:00 2001 From: Spencer Wilson Date: Wed, 4 Sep 2024 10:57:44 -0400 Subject: [PATCH] Update boringssl to GitHub Actions Signed-off-by: Spencer Wilson --- .github/workflows/downstream-basic.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/downstream-basic.yml b/.github/workflows/downstream-basic.yml index 87b66efe8..9b087772e 100644 --- a/.github/workflows/downstream-basic.yml +++ b/.github/workflows/downstream-basic.yml @@ -16,12 +16,13 @@ jobs: run: | curl --silent \ --write-out "\n%{response_code}\n" \ - --user ${{ secrets.BUILD_TRIGGER_TOKEN }}: \ --request POST \ - --header "Content-Type: application/json" \ - --data '{ "branch": "master", "parameters": { "run_downstream_tests": true } }' \ - https://circleci.com/api/v2/project/gh/open-quantum-safe/boringssl/pipeline | tee curl_out \ - && grep -q "201" curl_out + --header "Accept: application/vnd.github+json" \ + --header "Authorization: Bearer ${{ secrets.OQSBOT_GITHUB_ACTIONS }}" \ + --header "X-GitHub-Api-Version: 2022-11-28" \ + --data '{"event_type":"liboqs-upstream-trigger"}' \ + https://api.github.com/repos/open-quantum-safe/boringssl/dispatches | tee curl_out \ + && grep -q "204" curl_out - name: Trigger OQS-OpenSSH CI run: | curl --silent \