Update k8s git robot, as old robot lost "push" permissions

This commit is contained in:
Hui Yu
2025-06-01 11:17:30 +08:00
parent 65347ed803
commit 369c6ded27
2 changed files with 4 additions and 4 deletions

View File

@@ -78,8 +78,8 @@ jobs:
- name: Commit and push - name: Commit and push
run: | run: |
# Commit and push # Commit and push
git config user.email "k8s.ci.robot@gmail.com" git config user.email "k8s-publishing-bot@users.noreply.github.com"
git config user.name "Kubernetes Prow Robot" git config user.name "Kubernetes Publisher"
git checkout -b "$BRANCH" git checkout -b "$BRANCH"
git add . git add .
git commit -s -m 'Automated openapi generation from ${{ github.event.inputs.kubernetesBranch }}' git commit -s -m 'Automated openapi generation from ${{ github.event.inputs.kubernetesBranch }}'

View File

@@ -29,8 +29,8 @@ jobs:
cat OWNERS | grep ${{ github.actor }} cat OWNERS | grep ${{ github.actor }}
- name: Prepare - name: Prepare
run: | run: |
git config user.email "k8s.ci.robot@gmail.com" git config user.email "k8s-publishing-bot@users.noreply.github.com"
git config user.name "Kubernetes Prow Robot" git config user.name "Kubernetes Publisher"
- name: Release Prepare - name: Release Prepare
run: | run: |
git tag -a v${{ github.event.inputs.releaseVersion }} -m "version ${{ github.event.inputs.releaseVersion }}" git tag -a v${{ github.event.inputs.releaseVersion }} -m "version ${{ github.event.inputs.releaseVersion }}"