From 66f713f5508badd86a2ebe72ade0fda1f4912497 Mon Sep 17 00:00:00 2001 From: Spencer Wilson Date: Thu, 22 Aug 2024 09:51:54 -0400 Subject: [PATCH] Update OpenSSH downstream branch to OQS-v9 (#1898) * Trigger GitHub CI for OpenSSH OQS-v9 Signed-off-by: Spencer Wilson --- .github/workflows/commit-to-main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/commit-to-main.yml b/.github/workflows/commit-to-main.yml index 7c1daa6f3..92e73bd35 100644 --- a/.github/workflows/commit-to-main.yml +++ b/.github/workflows/commit-to-main.yml @@ -38,12 +38,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": "OQS-v8", "parameters": { "run_downstream_tests": true } }' \ - https://circleci.com/api/v2/project/gh/open-quantum-safe/openssh/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 '{"ref":"OQS-v9"}' \ + https://api.github.com/repos/open-quantum-safe/openssh/actions/workflows/ubuntu.yaml/dispatches | tee curl_out \ + && grep -q "204" curl_out - name: Trigger oqs-provider CI run: | curl --silent \