Skip to content

Commit 67ee977

Browse files
committed
DAOS-17877 cq: give create_release.yml write permission (#16708)
Give create_release.yml write permission so it can create tags. Also exit on error. Doc-only: true Signed-off-by: Dalton Bohning <[email protected]>
1 parent 25cc8d7 commit 67ee977

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/actions/make_release/entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash -l
22

3+
set -e
4+
35
# Only need to do any of this if the version has been updated
46
# NOTE: The diff-index with HEAD^ implies that the TAG
57
# must be updated in the last commit. But version update

.github/workflows/create_release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
name: Create Release
1616
if: github.repository == 'daos-stack/daos'
1717
runs-on: ubuntu-latest
18+
permissions:
19+
contents: write
1820
steps:
1921
- uses: actions/checkout@v4
2022
with:

0 commit comments

Comments
 (0)