From 24e24bd063b448399d801ffa18d65503442ea645 Mon Sep 17 00:00:00 2001 From: Darshan Sen Date: Tue, 18 Oct 2022 12:39:46 +0530 Subject: [PATCH] build: add version info to timezone update PR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs: https://github.com/nodejs/node/pull/44950#issuecomment-1275073089 Signed-off-by: Darshan Sen PR-URL: https://github.com/nodejs/node/pull/45021 Reviewed-By: Moshe Atlow Reviewed-By: Michaƫl Zasso Reviewed-By: Tierney Cyren Reviewed-By: Richard Lau Reviewed-By: Rich Trott Reviewed-By: James M Snell --- .github/workflows/timezone-update.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/timezone-update.yml b/.github/workflows/timezone-update.yml index d7c9305325f82b..138fde0e54c34f 100644 --- a/.github/workflows/timezone-update.yml +++ b/.github/workflows/timezone-update.yml @@ -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 @@ -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