From 2f843af286f7301d99c5833457b6baaf9bba4b48 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Tue, 12 Jul 2022 00:08:14 +0200 Subject: [PATCH] build: run tests on drivers and bluetooth repos after successful docker dev build Signed-off-by: deadprogram --- .github/workflows/docker.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ed249624..1b704fdd 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -55,18 +55,20 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=max - - name: Trigger Drivers repo build on CircleCI + - name: Trigger Drivers repo build on Github Actions run: | - curl --location --request POST 'https://circleci.com/api/v2/project/github/tinygo-org/drivers/pipeline' \ - --header 'Content-Type: application/json' \ - -d '{"branch": "dev"}' \ - -u "${{ secrets.CIRCLECI_API_TOKEN }}" - - name: Trigger Bluetooth repo build on CircleCI + curl -X POST \ + -H "Authorization: Bearer ${{secrets.GHA_ACCESS_TOKEN}}" \ + -H "Accept: application/vnd.github.v3+json" \ + https://api.github.com/repos/tinygo-org/drivers/actions/workflows/build.yml/dispatches \ + -d '{"ref": "dev"}' + - name: Trigger Bluetooth repo build on Github Actions run: | - curl --location --request POST 'https://circleci.com/api/v2/project/github/tinygo-org/bluetooth/pipeline' \ - --header 'Content-Type: application/json' \ - -d '{"branch": "dev"}' \ - -u "${{ secrets.CIRCLECI_API_TOKEN }}" + curl -X POST \ + -H "Authorization: Bearer ${{secrets.GHA_ACCESS_TOKEN}}" \ + -H "Accept: application/vnd.github.v3+json" \ + https://api.github.com/repos/tinygo-org/bluetooth/actions/workflows/linux.yml/dispatches \ + -d '{"ref": "dev"}' - name: Trigger TinyFS repo build on CircleCI run: | curl --location --request POST 'https://circleci.com/api/v2/project/github/tinygo-org/tinyfs/pipeline' \