From 1a7101dbec81bd710c2ad93be29eaf93145fa10d Mon Sep 17 00:00:00 2001 From: Andrew Esterson Date: Tue, 3 Dec 2024 12:43:55 +0000 Subject: [PATCH] changed dispatch-action for repository-dispatch (#4643) --- .github/workflows/validation_benchmarks.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/validation_benchmarks.yml b/.github/workflows/validation_benchmarks.yml index 1f50a70591..5b5d5fad21 100644 --- a/.github/workflows/validation_benchmarks.yml +++ b/.github/workflows/validation_benchmarks.yml @@ -13,13 +13,14 @@ jobs: name: Dispatch to `pybamm-validation` runs-on: ubuntu-latest steps: - - uses: mvasigh/dispatch-action@7d246d27377b345bd9c58646c51641bec9c7435c # 1.1.6 + - uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0 with: token: ${{ secrets.BENCHMARKS_ACCESS_TOKEN }} - repo: pybamm-validation - owner: pybamm-team - event_type: ${{ github.event_name }} - message: | + repository: pybamm-team/pybamm-validation + event-type: ${{ github.event_name }} + client-payload: |- { - "commit_hash": "$GITHUB_SHA" + "message": { + "commit_hash": "$GITHUB_SHA" + } }