-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: xudong liu <[email protected]>
- Loading branch information
1 parent
09fcebd
commit 5c025e1
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,17 +28,20 @@ jobs: | |
- name: Configure Git | ||
run: | | ||
git config user.name "github-actions[bot]" | ||
git config user.email "github-actions-bot@example.com" | ||
git config user.email "[email protected].com" | ||
- name: Check for changes and update version | ||
id: changes | ||
run: | | ||
echo "changes=$(git diff)" >> $GITHUB_OUTPUT | ||
git_diff_output=$(git diff) | ||
if [ -n "$git_diff_output" ]; then | ||
echo "changes=true" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Create PR | ||
if: steps.changes.outputs.changes | ||
run: | | ||
HEAD_BRANCH="github-actions/auto-bump/k8s-dependencies-$(date +'%Y%m%d%H%M%S')" | ||
HEAD_BRANCH="github-actions/auto-bump/test-e2e-k8s-dependencies-$(date +'%Y%m%d%H%M%S')" | ||
git checkout -b "$HEAD_BRANCH" | ||
git add go.mod go.sum | ||
git commit -sm "Bump kubernetes group dependencies updates for e2e test" | ||
|