Skip to content

Commit c0dcf54

Browse files
Update generate-javascript.yml
1 parent fabb4a3 commit c0dcf54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/generate-javascript.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,13 @@ jobs:
3030
pushd gen
3131
git checkout "${{ github.event.inputs.genCommit }}"
3232
# apply https://github.com/kubernetes-client/gen/pull/224
33-
# apply https://github.com/kubernetes-client/gen/pull/237
3433
git config --global user.name "Github Actions"
3534
git config --global user.email "<>"
3635
git cherry-pick --strategy=recursive -X theirs c557f7f b32dcd6
3736
rm -rf gen/.git
37+
# apply https://github.com/kubernetes-client/gen/pull/237
38+
- name: Patch Dockerfile
39+
run: echo "RUN git config --system --add safe.directory /source/openapi-generator" >> gen/openapi/openapi-generator/Dockerfile
3840
- name: Generate Branch Name
3941
run: |
4042
SUFFIX=$(openssl rand -hex 4)

0 commit comments

Comments
 (0)