ci: allow contents/write

pull/23/head
Lena 2024-01-11 21:35:05 +01:00 committed by K.B.Dharun Krishna
parent f1c35b53a3
commit 3c01532748
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@ name: CI
on: ['push', 'pull_request']
permissions:
contents: read # to fetch code (actions/checkout)
contents: write # to upload assets to releases
jobs:
ci:
@ -52,3 +52,4 @@ jobs:
run: bash scripts/deploy.sh
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}