Skip to content

Commit d8998ec

Browse files
authored
chore: permissions updated [] (#3181)
* chore: permissions updated * chore: permissions updated & lavamoat config * test: release test * chore: test branch changes reverted
1 parent b3686cc commit d8998ec

6 files changed

Lines changed: 1208 additions & 38 deletions

File tree

.github/workflows/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
cache: "npm"
2222

2323
- name: Install dependencies
24-
run: npm ci
24+
run: |
25+
npm ci
26+
npx allow-scripts
2527
2628
- name: Build
2729
run: npm run build:package

.github/workflows/check.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Run Checks
22

3+
permissions:
4+
contents: read
35
on:
46
workflow_call:
57
secrets:
@@ -25,7 +27,9 @@ jobs:
2527
cache: "npm"
2628

2729
- name: Install dependencies
28-
run: npm ci
30+
run: |
31+
npm ci
32+
npx allow-scripts
2933
3034
- name: Restore the build folders
3135
uses: actions/cache/restore@v4

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ jobs:
5252
run: npm install -g npm@latest
5353

5454
- name: Install dependencies
55-
run: npm ci
55+
run: |
56+
npm ci
57+
npx allow-scripts
5658
5759
- name: Restore the build folders
5860
uses: actions/cache/restore@v4

.github/workflows/test-e2e.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Run Checks
22

3+
permissions:
4+
contents: read
35
on:
46
workflow_call:
57
secrets:
@@ -30,7 +32,9 @@ jobs:
3032
cache: "npm"
3133

3234
- name: Install dependencies
33-
run: npm ci
35+
run: |
36+
npm ci
37+
npx allow-scripts
3438
3539
- name: Restore the build folders
3640
uses: actions/cache/restore@v4

0 commit comments

Comments
 (0)