Skip to content

Commit 5e68304

Browse files
committed
add permissions
1 parent 960d4fd commit 5e68304

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
name: Build Release
2323
runs-on: macos-26
2424
if: github.repository_owner == 'hackdoc'
25-
25+
permissions:
26+
contents: write
27+
2628
env:
2729
# GitHub Information
2830
branch: ${{ github.ref }}
@@ -31,7 +33,7 @@ jobs:
3133
des: ${{ inputs.desciption }}
3234
commiturl: ${{ github.event.head_commit.url }}${{ github.event.release.html_url }}
3335
commitdate: ${{ github.event.head_commit.timestamp }}${{ github.event.release.published_at }}
34-
36+
3537
steps:
3638
- uses: actions/checkout@v4
3739
- name: Set up Python

0 commit comments

Comments
 (0)