Skip to content

Commit 2b8a7a1

Browse files
committed
Fix gh actions permissions
1 parent 87b36fd commit 2b8a7a1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,27 @@ on:
88
jobs:
99
build_zip:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
1114
steps:
1215
- name: Checkout
1316
uses: actions/checkout@v4
17+
1418
- name: Setup Node
1519
uses: actions/setup-node@v4
1620
with:
1721
node-version: '16.9.1'
1822
cache: 'yarn'
23+
1924
- name: Build
2025
env:
2126
version: ${{ github.ref_name }}
2227
run: |
2328
yarn install --dev
2429
yarn build
2530
zip -r openapi-explorer_${version}.zip public
31+
2632
- name: Release
2733
uses: softprops/action-gh-release@v2
2834
with:

0 commit comments

Comments
 (0)