Skip to content

Commit

Permalink
add perms
Browse files Browse the repository at this point in the history
  • Loading branch information
aeharding committed Nov 12, 2024
1 parent e5477c9 commit 7af017a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}"
Expand Down

0 comments on commit 7af017a

Please sign in to comment.