Skip to content

Commit 0e004f9

Browse files
authored
[CI] Fix permissions on nightly releases (#13406)
Nightly packages haven't been published in a while and looking at the logs the job failed with 403. The `softprops/action-gh-release` documentation says it needs `contents: write` permissions, which makes sense as it's creating a tag.
1 parent f170c63 commit 0e004f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/sycl-nightly.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ jobs:
129129
if: ${{ github.ref_name == 'sycl' }}
130130
needs: [ubuntu2204_build, build-win]
131131
runs-on: ubuntu-latest
132+
permissions:
133+
contents: write
132134
steps:
133135
- uses: actions/download-artifact@v4
134136
with:

0 commit comments

Comments
 (0)