Skip to content

Commit 82ca852

Browse files
authored
Reusable PSDB/OSDB (#65)
* Deleting redundant action * Single reusable workflow for PSDB and OSDB * fixed calling psdb for mainline [ROCm/rocprofiler-sdk commit: f80480c]
1 parent c343bc0 commit 82ca852

File tree

3 files changed

+22
-129
lines changed

3 files changed

+22
-129
lines changed

.github/workflows/OSDB.yml

Lines changed: 0 additions & 64 deletions
This file was deleted.

.github/workflows/PSDB.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: ROCm CI Caller
2+
3+
on:
4+
pull_request:
5+
branches: [amd-staging]
6+
types: [opened, reopened, synchronize]
7+
push:
8+
branches: [amd-mainline]
9+
workflow_dispatch:
10+
11+
jobs:
12+
call-workflow:
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.sha }}
17+
input_pr_num: ${{ github.event_name == 'pull_request' && github.event.pull_request.number || 0 }}
18+
input_pr_url: ${{ github.event_name == 'pull_request' && github.event.pull_request.html_url || '' }}
19+
input_pr_title: ${{ github.event_name == 'pull_request' && github.event.pull_request.title || '' }}
20+
repository_name: ${{ github.repository }}
21+
base_ref: ${{ github.event_name == 'pull_request' && github.base_ref || github.ref }}
22+
trigger_event_type: ${{ github.event_name }}

0 commit comments

Comments
 (0)