diff --git a/.github/workflows/linux-release.yml b/.github/workflows/linux-release.yml index 2696fbfb..6833a901 100644 --- a/.github/workflows/linux-release.yml +++ b/.github/workflows/linux-release.yml @@ -1,4 +1,6 @@ name: Linux Release +permissions: + contents: write on: push: @@ -45,5 +47,7 @@ jobs: files: | one-api one-api-arm64 + draft: true + generate_release_notes: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/macos-release.yml b/.github/workflows/macos-release.yml index 7f4e48b1..5ec789c1 100644 --- a/.github/workflows/macos-release.yml +++ b/.github/workflows/macos-release.yml @@ -1,4 +1,6 @@ name: macOS Release +permissions: + contents: write on: push: @@ -36,5 +38,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: one-api-macos + draft: true + generate_release_notes: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/windows-release.yml b/.github/workflows/windows-release.yml index 525f0524..fa5bb995 100644 --- a/.github/workflows/windows-release.yml +++ b/.github/workflows/windows-release.yml @@ -1,4 +1,6 @@ name: Windows Release +permissions: + contents: write on: push: @@ -39,5 +41,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: files: one-api.exe + draft: true + generate_release_notes: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file