From fa1431999b8eff57f08359e382374837921e4843 Mon Sep 17 00:00:00 2001 From: Dario Pellegrino Date: Fri, 22 Aug 2025 12:47:16 +0200 Subject: [PATCH] fix cd Signed-off-by: Dario Pellegrino --- .github/workflows/cd.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d767737..6e0c59c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,4 +1,3 @@ - name: CD on: @@ -6,8 +5,10 @@ on: tags: - "v[0-9]+.[0-9]+.[0-9]+" +permissions: + contents: write + env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} REPO: ${{ github.repository }} jobs: @@ -18,8 +19,10 @@ jobs: uses: actions/checkout@v4 - name: Create GitHub Release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - gh release create ${{ github.ref_name }} \ - -R $REPO \ + gh release create "${{ github.ref_name }}" \ + -R "$REPO" \ --title "Release ${{ github.ref_name }}" \ --generate-notes