From: Jérémie Astor Date: Fri, 18 Sep 2020 04:57:51 +0000 (+0200) Subject: :wrench: Add benchmark dispatch X-Git-Tag: nightly~1277 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=d35fc1fa864716d4f0629dca989cf5859ab64a4f;p=gwion.git :wrench: Add benchmark dispatch --- diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml new file mode 100644 index 00000000..0f8dcaf3 --- /dev/null +++ b/.github/workflows/benchmarks.yml @@ -0,0 +1,19 @@ +name: 'Benchmarks' +on: + workflow_run: + workflows: ["Linux"] + types: + - completed + +jobs: + post-test-success: + runs-on: ubuntu-latest + steps: + - name: call the other repo + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + EVENT: benchmark-event + ORG: fennecdjay + REPO: gwion-benchmark + run: | + curl -d "{\"event_type\": \"${EVENT}\"}" -H "Content-Type: application/json" -H "Authorization: token ${GITHUB_TOKEN}" -H "Accept: application/vnd.github.everest-preview+json" "https://api.github.com/repos/${ORG}/${REPO}/dispatches"