Skip to content

Commit

Permalink
added failsafe for auto update of jshell version
Browse files Browse the repository at this point in the history
  • Loading branch information
Alathreon committed Oct 4, 2024
1 parent 0f82238 commit 68047b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/update-jshell-image-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
branch_name="update-jshell-java-version-$latest_version"
if gh api repos/Together-Java/JShellPlaygroundBackend/branches/$branch_name >/dev/null 2>&1
then
return 0
fi
git checkout -b "$branch_name"
git add "$gradle_file"
Expand Down

0 comments on commit 68047b1

Please sign in to comment.