Skip to content

Commit 7cbb3e0

Browse files
committed
ci: fixed workflow syntax (3)
Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>
1 parent 8b9f7a9 commit 7cbb3e0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/bump-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ jobs:
125125
# (github prevents cascading triggers from happening).
126126
name: Create release
127127
needs: [ tag-release ]
128+
permissions:
129+
contents: write
128130
uses: ./.github/workflows/release.yml
129131
with:
130132
tag: ${{ needs.tag-release.outputs.next-tag}}

.github/workflows/tag-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
# The previous tagging action does not trigger the normal release workflow
2020
# (github prevents cascading triggers from happening).
2121
name: Create release
22+
permissions:
23+
contents: write
2224
uses: ./.github/workflows/release.yml
2325
with:
2426
tag: ${{ github.ref_name }}

0 commit comments

Comments
 (0)