Skip to content

Commit

Permalink
Merge pull request #1 from AMD-ROCm-Internal/rahchoud_amdeng-patch-1
Browse files Browse the repository at this point in the history
Create rocm_ci_caller.yml init file to call shared workflow
  • Loading branch information
rahulc1984 authored Jan 7, 2025
2 parents 6f51cd6 + 3c01c13 commit bb122ef
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/rocm_ci_caller.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: ROCm CI Caller
on:
# Commenting below to avoid re-runs of amd smi for trivial rebases
pull_request:
branches: [amd-staging, amd-mainline]
types: [opened, reopened, synchronize]
push:
branches: [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 }}

0 comments on commit bb122ef

Please sign in to comment.