Skip to content

Commit 1d919ca

Browse files
authored
Merge pull request #87 from intel/trigger_gha
Create trigger-dci-apps.yml
2 parents ddec817 + e955455 commit 1d919ca

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This is CI trigger for the Intel Redhat DCI-Apps Job
2+
# It requires a user name and a PAT to access the private repo that contains the actual action.
3+
# It will trigger on a pull request - can also be run manually
4+
5+
name: dci-apps-workflow-trigger
6+
on: [workflow_dispatch, pull_request]
7+
8+
jobs:
9+
using-trigger-and-wait:
10+
name: Remote Trigger for DCI Apps Job
11+
runs-on: self-hosted
12+
steps:
13+
- uses: convictional/trigger-workflow-and-wait@v1.6.5
14+
with:
15+
owner: intel
16+
repo: ocpeng
17+
github_user: intelocpeng
18+
github_token: ${{secrets.GHA}}
19+
workflow_file_name: dci-app-agent-workflow.yml
20+
ref: main
21+
wait_interval: 10
22+
propagate_failure: true
23+
trigger_workflow: true
24+
wait_workflow: true

0 commit comments

Comments
 (0)