File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -110,8 +110,8 @@ jobs:
110
110
with :
111
111
token : ${{ secrets.GIT_TOKEN }}
112
112
path : piper-e2e-test
113
- branch : ${{ github.head_ref }}-test
114
- title : ${{ github.head_ref }}-test
113
+ branch : ${{ github.ref_name }}-test
114
+ title : ${{ github.ref_name }}-test
115
115
delete-branch : true
116
116
- name : Wait for workflow creation
117
117
run : |
@@ -129,7 +129,7 @@ jobs:
129
129
run : |
130
130
kubectl logs deployment/piper
131
131
kubectl get workflows.argoproj.io -n workflows
132
- BRANCH_VALID_STRING=$(echo ${{ github.head_ref }}-test | tr '[:upper:]' '[:lower:]' | tr '_' '-' | tr -cd 'a-z0-9.\-')
132
+ BRANCH_VALID_STRING=$(echo ${{ github.ref_name }}-test | tr '[:upper:]' '[:lower:]' | tr '_' '-' | tr -cd 'a-z0-9.\-')
133
133
134
134
## check if created
135
135
RESULT=$(kubectl get workflows.argoproj.io -n workflows --selector=branch=$BRANCH_VALID_STRING --no-headers | grep piper-e2e-test)
You can’t perform that action at this time.
0 commit comments