From ee2e7b7d3b7c440a5eaeac5cb0784b1f384be072 Mon Sep 17 00:00:00 2001 From: Mike Stipicevic Date: Tue, 4 Feb 2025 17:13:19 +0100 Subject: [PATCH] Give permission to CD action to make releases Without this, the CD action fails. This requirement is listed in the README of softprops/action-gh-release. --- template/.github/workflows/cd.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/.github/workflows/cd.yml b/template/.github/workflows/cd.yml index 2ba8b3d..7b51b97 100644 --- a/template/.github/workflows/cd.yml +++ b/template/.github/workflows/cd.yml @@ -10,6 +10,8 @@ jobs: publish: name: Publishing for {{ "${{ matrix.job.os }}" }} runs-on: {{ "${{ matrix.job.os }}" }} + permissions: + contents: write strategy: matrix: rust: [stable]