Skip to content

Commit c5d3fd4

Browse files
committed
updated main.yaml workflow to trigger once update-hkubectl-download.yaml is completed.
1 parent d760f18 commit c5d3fd4

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/main.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
# Triggers the workflow on push or pull request events but only for the master branch
88
push:
99
branches: [ source ]
10+
11+
workflow_run:
12+
workflows: ["Update Download Files from hkubectl Release"]
13+
types:
14+
- completed
1015
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1116
jobs:
1217
# This workflow contains a single job called "build"

.github/workflows/update-hkubectl-downloads.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Update Download Files from hkubectl Release
1+
name: Update Download Files from hkubectl Release # If you change the name, update at main.yaml too
22

33
# Trigger the workflow when a new release is published in the hkubectl repository
44
on:

0 commit comments

Comments
 (0)