Skip to content

A self-hosted media server and file management system

fix: new ci actions lack permissions

aminnausin71438cced51e
diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml
index 83119495..c86dc482 100644
--- a/.github/workflows/ci-main.yml
+++ b/.github/workflows/ci-main.yml
@@ -140,6 +140,8 @@ jobs:
release:
needs: [ build-docker, beta-flow ]
uses: ./.github/workflows/release-github.yml
+ permissions:
+ contents: write
with:
tag: ${{ needs.beta-flow.outputs.tag }}
release_name: 'Beta Release - ${{ needs.beta-flow.outputs.tag }}'
diff --git a/.github/workflows/ci-prod.yml b/.github/workflows/ci-prod.yml
index 9b83c0be..9760b9bb 100644
--- a/.github/workflows/ci-prod.yml
+++ b/.github/workflows/ci-prod.yml
@@ -116,6 +116,8 @@ jobs:
release:
needs: [ build-docker, release-flow, generate-changelog ]
uses: ./.github/workflows/release-github.yml
+ permissions:
+ contents: write
with:
tag: ${{ needs.release-flow.outputs.tag }}
release_name: 'Release - ${{ needs.release-flow.outputs.tag }}'