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" + } }