Skip to content

Commit

Permalink
Update update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jumpaku authored Feb 19, 2024
1 parent 215a0a8 commit 3299b31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
echo "TZ_VERSION=$(cat /gen/version)" >> "${GITHUB_ENV}"
fi
- name: Commit and push if new version found
if: ${{ env.NEW_VERSION_FOUND == "true" }}
if: ${{ env.NEW_VERSION_FOUND == 'true' }}
run: |
set -eux
git commit -am "Update tzot.json (${TZ_VERSION})"
git push --set-upstream origin "${UPDATE_BRANCH}"
- name: Create PR if new update found
if: ${{ env.NEW_VERSION_FOUND == "true" }}
if: ${{ env.NEW_VERSION_FOUND == 'true' }}
run: |
set -eux
gh pr create --title "Update tzot.json (${TZ_VERSION})" --body "Update tzot.json (${TZ_VERSION})" --base main --head gh-actions-update

0 comments on commit 3299b31

Please sign in to comment.