From a5603828f1c7d3ab8d1a31fad284378b82ecd7a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ogle?= Date: Wed, 21 Aug 2024 11:55:33 +0100 Subject: [PATCH 1/2] Document NPM_TOKEN --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2662b77..959e41a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,16 @@ # https://github.com/changesets/action + +######################################################################################## +# The following secrets are required: +# +# 1. NPM_TOKEN - A "fine-grained personal access token" generated through the +# npmjs.com UI. Tokens are generated at the user level, rather than organisation +# level. Each token is also scoped to the specific package. +# +# The following minimum permissions are required: +# Read & write - access to package & scope +######################################################################################## + name: Release on: From f17d9f36e13af9bacef9e6c7f19cb5f022d3d938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ogle?= Date: Wed, 21 Aug 2024 11:58:03 +0100 Subject: [PATCH 2/2] Document GITHUB_TOKEN --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 959e41a..e012a16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -# https://github.com/changesets/action +#also has a specific scope https://github.com/changesets/action ######################################################################################## # The following secrets are required: @@ -9,6 +9,8 @@ # # The following minimum permissions are required: # Read & write - access to package & scope +# +# 2. GITHUB_TOKEN - automatically provided by Github to workflow runs. ######################################################################################## name: Release