From 5bd779a9cfcd977c2d07d7a3790129879f9608e6 Mon Sep 17 00:00:00 2001 From: Hotaru Date: Sun, 31 Dec 2023 00:03:44 +0800 Subject: [PATCH] chore: actions --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42537a26..828e12ad 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: - name: Checkout source @@ -34,15 +36,14 @@ jobs: with: tag_name: ${{ github.ref }} name: Release ${{ github.ref }} + draft: false + prerelease: false body: | New Release ${{ github.ref }} [CHANGELOG](https://github.com/kotorijs/kotori/blob/master/packages/kotori/CHANGELOG.md) - prerelease: false files: | kotori-bot-v1.1.0.tgz LICENSE - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish packages run: pnpm run publish env: