Skip to content

Commit 51d24db

Browse files
committed
Add GitHub Action Workflow permissions
1 parent f8fac9b commit 51d24db

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/codestyle.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
- master
1010
pull_request:
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
ts:
1417
name: TS Prettier

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55

66
name: Upload Release Asset
77

8+
permissions:
9+
contents: write
10+
packages: write
11+
id-token: write
12+
attestations: write
13+
814
jobs:
915
build:
1016
name: Upload Release Asset

.github/workflows/typescript.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
pull_request:
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
tsc:
912
name: "TSC"

0 commit comments

Comments
 (0)