name: PyTorch CI Trigger
run-name: >-
PyTorch CI Trigger -
${{
format('Push {0}', github.event.client_payload.payload.after)
}}
on:
repository_dispatch:
types: [push]
concurrency:
group: >-
ci-${{ github.event.client_payload.payload.repository.full_name }}-${{
github.event.client_payload.payload.ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
id-token: write
jobs:
forward:
uses: Ascend/pytorch/.github/workflows/receive-trigger.yml@ci-test
secrets: inherit
with:
event_type: ${{ github.event.client_payload.event_type }}
payload: ${{ toJSON(github.event.client_payload) }}