From f92871a52bd6fce6cdb064418d70d6b8be5901ca Mon Sep 17 00:00:00 2001 From: Alex <93376818+sashashura@users.noreply.github.com> Date: Mon, 19 Sep 2022 09:55:47 +0200 Subject: [PATCH] build: update timezone-update.yml Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com> PR-URL: https://github.com/nodejs/node/pull/44717 Reviewed-By: Antoine du Hamel Reviewed-By: Mestery Reviewed-By: Tierney Cyren Reviewed-By: Rich Trott --- .github/workflows/timezone-update.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/timezone-update.yml b/.github/workflows/timezone-update.yml index 9d567415f4b2a6..d7c9305325f82b 100644 --- a/.github/workflows/timezone-update.yml +++ b/.github/workflows/timezone-update.yml @@ -6,8 +6,15 @@ on: workflow_dispatch: +permissions: + contents: read + jobs: timezone_update: + permissions: + contents: write # to push local changes (gr2m/create-or-update-pull-request-action) + pull-requests: write # to create a PR (gr2m/create-or-update-pull-request-action) + if: github.repository == 'nodejs/node' runs-on: ubuntu-latest