Skip to content

Commit 8c4cc6d

Browse files
authored
Bugfix: Grant permission and add warning in release workflow (#71)
1 parent 12b77cf commit 8c4cc6d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release-repository.yaml

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
workflow_dispatch:
66
inputs:
77
release_candidate:
8-
description: Branch name of the release candidate.
8+
description: Branch name of the release candidate. WARNING This branch will be deleted!
99
required: true
1010
version:
1111
description: New version (used for tag and package versioning).
@@ -104,6 +104,11 @@ jobs:
104104
--title ${{ github.event.inputs.release_name }} \
105105
--generate-notes
106106
107+
- name: Grant permissions
108+
if: ${{ env.DEVEL_BRANCH != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }}
109+
run: |
110+
sudo chmod -R ugo+rwX .
111+
107112
- name: Checkout to devel branch
108113
if: ${{ env.DEVEL_BRANCH != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }}
109114
uses: actions/checkout@v4

0 commit comments

Comments
 (0)