File tree 1 file changed +9
-6
lines changed 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 12
12
default : ' vx.y.z'
13
13
description : ' DSPO version tag to be selected to sync manifests from (for example: v1.0.0)'
14
14
required : true
15
+ odh_manifest_org :
16
+ default : ' opendatahub-io'
17
+ description : ' The GH org for odh-manifest.'
18
+ required : true
19
+
15
20
jobs :
16
21
send-pull-requests :
17
22
runs-on : ubuntu-latest
@@ -22,13 +27,13 @@ jobs:
22
27
uses : actions/checkout@v2
23
28
with :
24
29
fetch-depth : 0
25
- ref : ${{ github.event. inputs.src_branch }}
30
+ ref : ${{ inputs.src_branch }}
26
31
repository : opendatahub-io/data-science-pipelines-operator
27
32
token : ${{ secrets.GITHUB_TOKEN }}
28
33
29
34
- name : Send pull-request
30
35
run : |
31
- TARGET_TAG=${{ github.event. inputs.target_tag }}
36
+ TARGET_TAG=${{ inputs.target_tag }}
32
37
REPOSITORY="dsp-developers/odh-manifests"
33
38
FOLDER="bin/$REPOSITORY"
34
39
BRANCH_NAME="chore-update-scripts-to-$TARGET_TAG"
46
51
git config user.email "[email protected] "
47
52
git config user.name "dsp-developers"
48
53
49
- git remote add upstream https://github.com/opendatahub-io /odh-manifests.git
54
+ git remote add upstream https://github.com/{{ inputs.odh_manifest_org }} /odh-manifests.git
50
55
git fetch upstream
51
56
52
57
# Create a new feature branch for the changes.
71
76
--title "Update DSP Operator manifests to $TARGET_TAG" \
72
77
--head "$BRANCH_NAME" \
73
78
--base "master"
74
- --repo https://github.com/opendatahub-io/odh-manifests
75
- env :
76
- GH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
79
+ --repo https://github.com/{{ inputs.odh_manifest_org }}/odh-manifests
You can’t perform that action at this time.
0 commit comments