Skip to content

Commit

Permalink
build: add version info to timezone update PR
Browse files Browse the repository at this point in the history
Refs: nodejs#44950 (comment)
Signed-off-by: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
RaisinTen committed Oct 16, 2022
1 parent 36805e8 commit 7c3c886
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/timezone-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
persist-credentials: false
repository: unicode-org/icu-data

- name: Record new version
run: echo "new_version=$(ls icu-data/tzdata/icunew | tail -1)" >> $GITHUB_ENV

- run: ./tools/update-timezone.mjs

- name: Open Pull Request
Expand All @@ -49,7 +52,7 @@ jobs:
console.log(process.versions.tz)
```
branch: actions/timezone-update
commit-message: 'deps: update timezone'
commit-message: 'deps: update timezone to ${{ env.new_version }}'
labels: dependencies
title: 'deps: update timezone'
title: 'deps: update timezone to ${{ env.new_version }}'
reviewers: \@nodejs/i18n-api

0 comments on commit 7c3c886

Please sign in to comment.