--- /dev/null
+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"