From 7efa38b81a6d6ea7a49d00e6850efab5ff49d946 Mon Sep 17 00:00:00 2001 From: Andy Coates <8012398+big-andy-coates@users.noreply.github.com> Date: Tue, 24 Jan 2023 14:08:44 +0000 Subject: [PATCH] Enable releasing (#33) Releasing writes a tag back to the repo's main branch, (which then triggers the build), so the job needs write permission on the repo's content to be able to push the tag. --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 488af8de..a08f9f52 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,8 @@ jobs: release: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' + permissions: + contents: write steps: - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - name: Fetch version history