From 96cb51ee264e1fd6c81eb22f2f6f8e1bc1b056fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cem=20K=C4=B1ray?= Date: Mon, 3 Jun 2024 11:16:08 +0200 Subject: [PATCH] Add write permission to `new-version.yml` so that it can create github release after publishing to npm --- .github/workflows/new-version.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/new-version.yml b/.github/workflows/new-version.yml index 8863362..cec1d86 100644 --- a/.github/workflows/new-version.yml +++ b/.github/workflows/new-version.yml @@ -5,6 +5,10 @@ on: branches: # only trigger when a commit was pushed to main - main +permissions: + # Used by `create-release` to create a new release on the repo after publishing to npm. + contents: write + jobs: publish: runs-on: ubuntu-latest