File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 8
8
targetRepo :
9
9
description : ' Target repository for workflow_dispatch'
10
10
default : ' all'
11
+ targetRef :
12
+ description : ' Target ref for workflow_dispatch'
13
+ default : ' latest'
11
14
12
15
jobs :
13
16
create_pull_request :
17
20
if : github.event_name == 'workflow_dispatch'
18
21
id : set-local-env-vars
19
22
run : |
20
- echo "TARGET_REPO_BRANCH=${{ inputs.targetRepo }}" | tee -a $GITHUB_ENV
23
+ echo "TARGET_REPO_BRANCH=${{ inputs.targetRef }}" | tee -a $GITHUB_ENV
21
24
echo "KFUTIL_ARG=${{ inputs.targetRepo }}" | tee -a $GITHUB_ENV
22
25
- name : Set TARGET_REPO_BRANCH from repository_dispatch input
23
26
if : github.event_name == 'repository_dispatch'
98
101
- name : Run Python Script
99
102
working-directory : ./tools/store-type-merge
100
103
run : |
101
- python main.py --repo-name ${{ env.KFUTIL_ARG }}
104
+ python main.py --repo-name ${{ env.KFUTIL_ARG }} --ref ${{ env.TARGET_REPO_BRANCH }}
102
105
cat store_types.json
103
106
env :
104
107
GITHUB_TOKEN : ${{ secrets.SDK_SYNC_PAT }}
You can’t perform that action at this time.
0 commit comments