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/node#44950 (comment)
Signed-off-by: Darshan Sen <[email protected]>
PR-URL: nodejs/node#45021
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Tierney Cyren <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
RaisinTen authored and guangwong committed Jan 3, 2023
1 parent a3a152d commit 8a2ab64
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 8a2ab64

Please sign in to comment.