Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add permissions

Manav Rathid627fdc0fdf6
diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml
index f5d16d0a99..9fe331ed58 100644
--- a/.github/workflows/cli-release.yml
+++ b/.github/workflows/cli-release.yml
@@ -10,6 +10,10 @@ on:
tags:
- "cli-v*"
+permissions:
+ # Allow the action to create a release
+ contents: write
+
jobs:
release-linux-amd64:
runs-on: ubuntu-latest
@@ -18,14 +22,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- - name: Create a draft GitHub release
- uses: ncipollo/release-action@v1
- with:
- prerelease: true
- draft: true
- allowUpdates: true
- updateOnlyUnreleased: true
-
- name: Build go binaries and upload to the release
uses: wangyoucao577/go-release-action@v1
with: