Skip to content

Commit a3c52a4

Browse files
committed
fix: configure github user
1 parent 0789b0d commit a3c52a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/k8s_edit.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ jobs:
3232
ref: refs/heads/dev
3333

3434
- name: GitHub Configuration
35-
run: |
36-
git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
37-
git config --global user.email "[email protected]"
38-
git config --global user.name "GitHub Actions"
35+
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
3936

4037
- name: Clone cicd-deployment-scripts
4138
run: git clone https://github.com/code-kern-ai/cicd-deployment-scripts.git
@@ -57,6 +54,9 @@ jobs:
5754
5855
rm -rf cicd-deployment-scripts
5956
57+
git config --global user.email "[email protected]"
58+
git config --global user.name "GitHub Actions"
59+
6060
git add ${{ env.KUBERNETES_MANIFEST_FILE_PATH }}
6161
git commit -m "ci(${{ github.event.repository.name }}): $KUBERNETES_POD_NEW_IMAGE" || true
6262
git push origin $AUTOMATED_RELEASE_BRANCH

0 commit comments

Comments
 (0)