Skip to content

Commit 8b313fc

Browse files
committed
test
1 parent f6b41da commit 8b313fc

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/crd-sync-check.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ on:
55
schedule:
66
- cron: '0 */2 * * *' # every 2 hours
77
workflow_dispatch:
8+
inputs:
9+
branch_name:
10+
default: 'main'
11+
type: string
12+
workflow_call:
13+
inputs:
14+
branch_name:
15+
default: 'main'
16+
type: string
817

918
jobs:
1019

@@ -17,12 +26,12 @@ jobs:
1726
- name: Checkout repository
1827
uses: actions/checkout@v4
1928
with:
20-
ref: ${{ github.ref_name }}
29+
ref: ${{ inputs.branch_name }}
2130

2231
- name: run make force-bump
2332
shell: bash
2433
run: |
25-
BRANCH='${{ github.ref_name }}' make force-bump
34+
BRANCH='${{ inputs.branch_name }}' make force-bump
2635
2736
- name: run make bindata
2837
shell: bash

0 commit comments

Comments
 (0)