Skip to content

Commit cf74709

Browse files
committed
fix(ci): grant write permissions for github release creation
- Add `permissions: contents: write` to build workflow - This resolves the 403 Forbidden error when `softprops/action-gh-release` tries to create a release tag
1 parent efd7ff5 commit cf74709

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
jobs:
1313
build:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write # Required for creating releases
17+
1518

1619
steps:
1720
# Checkout repository

0 commit comments

Comments
 (0)