Skip to content

Commit d515456

Browse files
committed
Start using github workflows for automation
1 parent 14f6ebf commit d515456

File tree

3 files changed

+30
-5
lines changed

3 files changed

+30
-5
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
on:
2+
push:
3+
branches:
4+
- release-main
5+
- "4.20"
6+
paths:
7+
- 'cert-manager/**'
8+
9+
jobs:
10+
deploy:
11+
uses: .github/workflows/operator-deploy.yaml
12+
with:
13+
path: 'cert-manager'
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on:
2+
push:
3+
branches:
4+
- release-main
5+
- "4.20"
6+
paths:
7+
- 'cert-manager/**'
8+
# schedule:
9+
# # Every week on Monday
10+
# - cron: '0 0 * * 1'
11+
12+
jobs:
13+
update:
14+
uses: .github/workflows/operator-update.yaml
15+
with:
16+
path: 'cert-manager'

.github/workflows/operator-update.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ on:
55
description: "Path to the operator build scripts"
66
type: string
77
required: true
8-
name:
9-
description: "Name of the operator"
10-
type: string
11-
required: true
128

139
jobs:
1410
deploy-operator:
@@ -34,7 +30,7 @@ jobs:
3430
with:
3531
author_name: github-actions
3632
author_email: github-actions@github.com
37-
message: "[${{ inputs.name }}] Automatic update"
33+
message: "[${{ inputs.path }}] Automatic update"
3834
add: "${{ inputs.path }}"
3935

4036
- name: Check if committed

0 commit comments

Comments
 (0)