From 75a36eab731231772a11be695e95e0e9a6e652b7 Mon Sep 17 00:00:00 2001 From: James Lan Date: Sun, 15 Sep 2024 17:48:02 -0700 Subject: [PATCH] release action need contents write permission, to commit docsite into git --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a74ae9d..e266430 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,6 +41,8 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} doc: + permissions: + contents: write uses: ./.github/workflows/docs.yml with: version: ${{ inputs.version }}