From ad972e56d7e5f09812b23ffe5439d3d7a21b86d1 Mon Sep 17 00:00:00 2001 From: Pringgo Radianto Date: Mon, 12 Aug 2024 14:29:04 +0700 Subject: [PATCH] fix(ci): fix github action permissions --- .github/workflows/release.yml | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 819c8b5..e5a713d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,8 @@ on: branches: - main -permissions: {} +permissions: + contents: write jobs: release: diff --git a/package.json b/package.json index 7eb993b..f56eb05 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "dev": "nuxi dev playground", "dev:build": "nuxi build playground", "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground", - "release": "npm run lint && npm run prepack && changelogen --release && npm publish --access public && git push --follow-tags", + "release": "npm run lint && npm run prepack && changelogen --release --no-output && npm publish --access public && git push --follow-tags", "lint": "eslint .", "test": "vitest run", "test:watch": "vitest watch",