From a8f0140548adb5dd1cbb861d8ff11100c9db3c9e Mon Sep 17 00:00:00 2001 From: LH Date: Wed, 7 Jul 2021 13:31:28 +0200 Subject: [PATCH] fix: CI/CD workflow permissions should allow pushing tags (#54) --- .github/workflows/ci_cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index b00f73f..7d60847 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -7,7 +7,7 @@ on: jobs: build: permissions: - contents: read + contents: write # to allow pushing version tags packages: write runs-on: ubuntu-latest steps: @@ -19,7 +19,7 @@ jobs: java-version: 11 - name: "Determine release version" - uses: codfish/semantic-release-action@master + uses: docker://ghcr.io/codfish/semantic-release-action:v1.9.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_URL: "https://api.github.com"