Skip to content

Commit

Permalink
Merge pull request #1666 from GoogleContainerTools/loosebazooka-patch-1
Browse files Browse the repository at this point in the history
Update update-temurin-packages.yml
  • Loading branch information
loosebazooka authored Sep 6, 2024
2 parents 1f6301d + 18139c1 commit d0b06dc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/update-temurin-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ jobs:
if: env.DISTROLESS_DIFF
id: create-commits
run: |
git status
if [[ $(git status --porcelain) ]]; then
echo "DISTROLESS_DIFF=true" >> "$GITHUB_ENV"
else
echo "No changes detected"
exit 0
fi
git checkout -b update-java-archives
# Set identity.
Expand All @@ -38,6 +46,7 @@ jobs:
git push --force origin HEAD
- name: Create Pull Request
if: env.DISTROLESS_DIFF
env:
GH_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
run: |
Expand Down

0 comments on commit d0b06dc

Please sign in to comment.