From 846d81557ac0dcd20d6ac59d6d5c9ef302b81ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90=20Kevin=20Deng?= Date: Wed, 30 Aug 2023 22:20:45 +0800 Subject: [PATCH] ci: add permission --- .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 216ba3b..b973ee8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,8 @@ on: jobs: release: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v3 with: @@ -15,7 +17,7 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: 16.x + node-version: lts/* - run: npx changelogithub env: