Files
rocm-systems/.github/workflows/rocm-ci-caller.yml
T
2025-01-23 16:54:09 -08:00

23 righe
989 B
YAML

name: ROCm CI Caller
on:
pull_request:
branches: [amd-staging, amd-npi]
types: [opened, reopened, synchronize]
push:
branches: [amd-staging, amd-mainline]
workflow_dispatch:
jobs:
call-workflow:
uses: AMD-ROCm-Internal/rocm_ci_infra/.github/workflows/rocm_ci.yml@mainline
secrets: inherit
with:
input_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
input_pr_num: ${{ github.event_name == 'pull_request' && github.event.pull_request.number || 0 }}
input_pr_url: ${{ github.event_name == 'pull_request' && github.event.pull_request.html_url || '' }}
input_pr_title: ${{ github.event_name == 'pull_request' && github.event.pull_request.title || '' }}
repository_name: ${{ github.repository }}
base_ref: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref }}
trigger_event_type: ${{ github.event_name }}