From 7af017acfe8cb3b0ba6503409612bc01b005e9d6 Mon Sep 17 00:00:00 2001 From: Alexander Harding Date: Mon, 11 Nov 2024 21:11:33 -0600 Subject: [PATCH] add perms --- .github/workflows/release.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af65058170..0d49f5ae88 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,9 @@ on: branches: - inherit # todo remove, can't workflow_dispatch from branch +permissions: + contents: write + env: TAG_PREFIX: test- RELEASE_BRANCH_PREFIX: test-release @@ -65,12 +68,6 @@ jobs: git_user_signingkey: true git_commit_gpgsign: true - - name: Debug variables - run: | - echo "Tag prefix: ${TAG_PREFIX}" - echo "Version: ${{ needs.validate_version.outputs.version }}" - echo "Full tag name will be: ${TAG_PREFIX}${{ needs.validate_version.outputs.version }}" - - name: Commit and push release run: | git checkout -b "$RELEASE_BRANCH_PREFIX/${{ needs.validate_version.outputs.version }}"