Debian Codegraph @

.github/workflows/rocm_ci_caller.yml

raw
1 name: ROCm CI Caller
2 on:
3 pull_request:
4 branches: [amd-staging, release/rocm-rel-*, amd-mainline]
5 types: [opened, reopened, synchronize]
6 push:
7 branches: [amd-mainline]
8 workflow_dispatch:
9 issue_comment:
10 types: [created]
11
12 jobs:
13 call-workflow:
14 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')))
15 uses: AMD-ROCm-Internal/rocm_ci_infra/.github/workflows/rocm_ci.yml@mainline
16 secrets: inherit
17 with:
18 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}}
19 input_pr_num: ${{github.event_name == 'pull_request' && github.event.pull_request.number || (github.event_name == 'issue_comment' && github.event.issue.number) || 0}}
20 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) || ''}}
21 input_pr_title: ${{github.event_name == 'pull_request' && github.event.pull_request.title || (github.event_name == 'issue_comment' && github.event.issue.pull_request.title) || ''}}
22 repository_name: ${{ github.repository }}
23 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}}
24 trigger_event_type: ${{ github.event_name }}
25 comment_text: ${{ github.event_name == 'issue_comment' && github.event.comment.body || '' }}