Skip to content

Commit c734ae7

Browse files
JeniferC99rahulc-ghammallya
authored
Add rocm_ci_caller.yml for release 7.0 psdb (llvm#3177)
Co-authored-by: Choudhary, Rahul <[email protected]> Co-authored-by: Mallya, Ameya Keshava <[email protected]>
1 parent 10134bc commit c734ae7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: ROCm CI Caller
2+
on:
3+
pull_request:
4+
branches: [release/rocm-rel-*]
5+
types: [opened, reopened, synchronize]
6+
workflow_dispatch:
7+
issue_comment:
8+
types: [created]
9+
10+
jobs:
11+
call-workflow:
12+
if: github.event_name != 'issue_comment' ||(github.event_name == 'issue_comment' && github.event.issue.pull_request && (startsWith(github.event.comment.body, '!verify') || startsWith(github.event.comment.body, '!verify release') || startsWith(github.event.comment.body, '!verify retest')))
13+
uses: AMD-ROCm-Internal/rocm_ci_infra/.github/workflows/rocm_ci.yml@mainline
14+
secrets: inherit
15+
with:
16+
input_sha: ${{github.event_name == 'pull_request' && github.event.pull_request.head.sha || (github.event_name == 'push' && github.sha) || (github.event_name == 'issue_comment' && github.event.issue.pull_request.head.sha) || github.sha}}
17+
input_pr_num: ${{github.event_name == 'pull_request' && github.event.pull_request.number || (github.event_name == 'issue_comment' && github.event.issue.number) || 0}}
18+
input_pr_url: ${{github.event_name == 'pull_request' && github.event.pull_request.html_url || (github.event_name == 'issue_comment' && github.event.issue.pull_request.html_url) || ''}}
19+
input_pr_title: ${{github.event_name == 'pull_request' && github.event.pull_request.title || (github.event_name == 'issue_comment' && github.event.issue.pull_request.title) || ''}}
20+
repository_name: ${{ github.repository }}
21+
base_ref: ${{github.event_name == 'pull_request' && github.event.pull_request.base.ref || (github.event_name == 'issue_comment' && github.event.issue.pull_request.base.ref) || github.ref}}
22+
trigger_event_type: ${{ github.event_name }}
23+
comment_text: ${{ github.event_name == 'issue_comment' && github.event.comment.body || '' }}

0 commit comments

Comments
 (0)