Skip to content

Commit

Permalink
Update bump-k8s.yml
Browse files Browse the repository at this point in the history
fix workflow
  • Loading branch information
XudongLiuHarold authored Mar 5, 2024
1 parent 137ab2b commit c1a9a67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bump-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
go-version: '1.21'

- name: Bump latest k8s.io dependices
- name: Bump latest k8s.io dependencies
run: bash ./hack/bump-k8s-dep.sh

- name: Configure Git
Expand All @@ -34,12 +34,12 @@ jobs:
- name: Check for changes
id: changes
run: |
git diff --quiet || echo "Changes detected"
echo "::set-output name=changes::$(git diff)"
- name: Create PR
if: steps.changes.outputs.stdout
if: steps.changes.outputs.changes
run: |
git add .
git add go.mod go.sum
git commit -sm "Bump the kubernetes group updates"
git push
gh pr create --base master --head "origin/master" --title ":seedling: Bump the kubernetes group updates" --label "ok-to-test" --body "This is an automated pull request generated to bump latest k8s dependencies."
Expand Down

0 comments on commit c1a9a67

Please sign in to comment.