From 52830b71ccedaf78ed21e19eb4bf976238dc9e59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 15 Nov 2023 14:36:43 +0100 Subject: [PATCH] tools: add workflow to update release links Refs: https://github.com/nodejs/node/pull/50623 PR-URL: https://github.com/nodejs/node/pull/50710 Reviewed-By: Claudio Wunder Reviewed-By: Moshe Atlow Reviewed-By: Richard Lau Reviewed-By: James M Snell Reviewed-By: Yagiz Nizipli Reviewed-By: Michael Dawson --- .github/workflows/update-release-links.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/update-release-links.yml diff --git a/.github/workflows/update-release-links.yml b/.github/workflows/update-release-links.yml new file mode 100644 index 00000000000000..fc9e6ad084cd3b --- /dev/null +++ b/.github/workflows/update-release-links.yml @@ -0,0 +1,19 @@ +name: Update release links + +on: + release: + types: [published] + +permissions: + contents: read + +jobs: + update-release-links: + if: github.repository == 'nodejs/node' + runs-on: ubuntu-latest + steps: + - name: Trigger update-links workflow on nodejs/release-cloudflare-worker + run: | + gh workflow run update-links.yml --repo nodejs/release-cloudflare-worker + env: + GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}