From: Jérémie Astor Date: Tue, 22 Sep 2020 14:01:39 +0000 (+0200) Subject: :wrench: Use commit info X-Git-Tag: nightly~1273 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=3962e4168018f08f9a2989e84f337f3cd3d12410;p=gwion.git :wrench: Use commit info --- diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index f5957b20..7ead9779 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -16,4 +16,4 @@ jobs: ORG: fennecdjay REPO: gwion-benchmark run: | - curl -d "{\"event_type\": \"${EVENT}\"}" -H "Content-Type: application/json" -H "Authorization: token ${{ secrets.BENCHMARK_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" "https://api.github.com/repos/${ORG}/${REPO}/dispatches" + curl -d "{\"event_type\": \"${EVENT}\", \"client_payload\": {\"commit_info\":\"$(git log -n1 --format='> Author: %an%nDate: %cd%nCommit: %h')\"}\" -H "Content-Type: application/json" -H "Authorization: token ${{ secrets.BENCHMARK_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" "https://api.github.com/repos/${ORG}/${REPO}/dispatches"