Skip to content

Commit 0029302

Browse files
committed
Fixing actions permissions
1 parent 1b42982 commit 0029302

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

.github/workflows/beta-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- "beta/**"
66
jobs:
77
call_npm_beta_release:
8+
permissions:
9+
contents: read
10+
id-token: write
811
uses: szikszail/workflows/.github/workflows/npm-beta-release.yml@v1
912
secrets:
1013
npm_token: ${{ secrets.npm_token }}

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@ on:
99
workflow_dispatch:
1010
jobs:
1111
call_npm_package_build:
12+
permissions:
13+
contents: read
14+
pull-requests: write
15+
statuses: write
1216
uses: szikszail/workflows/.github/workflows/npm-package-build.yml@v1

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
workflow_dispatch:
77
jobs:
88
call_typedocs_pages:
9+
permissions:
10+
contents: write
911
uses: szikszail/workflows/.github/workflows/typedocs-pages.yml@v1
1012
with:
1113
doc_script: typedoc

.github/workflows/pull-request.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@ name: Pull requests
22
on: [pull_request]
33
jobs:
44
call_npm_package_build:
5+
permissions:
6+
contents: read
7+
pull-requests: write
8+
statuses: write
59
uses: szikszail/workflows/.github/workflows/npm-package-build.yml@v1

0 commit comments

Comments
 (0)