You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: action-templates/actions/action-build-docs/action.yml
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,10 @@ inputs:
19
19
description: "Output directory that will be uploaded to GitHub Pages"
20
20
required: false
21
21
default: ".vitepress/dist"
22
+
npm-ci-parameter:
23
+
description: "disallow external scripts during npm ci https://about.gitlab.com/blog/pipeline-security-lessons-from-march-supply-chain-incidents/#use-case-2-detect-dependency-tampering-and-lockfile-manipulation"
Copy file name to clipboardExpand all lines: action-templates/actions/action-npm-build/action.yml
+24-3Lines changed: 24 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,21 @@ inputs:
17
17
description: "Controls the execution of the 'npm run test' script"
18
18
required: false
19
19
default: "true"
20
+
npm-ci-parameter:
21
+
description: "disallow external scripts during npm ci https://about.gitlab.com/blog/pipeline-security-lessons-from-march-supply-chain-incidents/#use-case-2-detect-dependency-tampering-and-lockfile-manipulation"
Copy file name to clipboardExpand all lines: docs/actions.md
+21-3Lines changed: 21 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,9 @@ Workflows using that action need the following permissions:
85
85
# VitePress output path that will be uploaded as artifact
86
86
# Default: .vitepress/dist
87
87
dist-path: ".vitepress/dist"
88
-
```
88
+
# disallow external scripts during npm ci https://about.gitlab.com/blog/pipeline-security-lessons-from-march-supply-chain-incidents/#use-case-2-detect-dependency-tampering-and-lockfile-manipulation
89
+
# Default: "--ignore-scripts"
90
+
npm-ci-parameter: "--ignore-scripts"
89
91
90
92
### action-build-image
91
93
@@ -223,9 +225,10 @@ Executes the following steps:
223
225
224
226
Output parameters:
225
227
226
-
- For each filter, it sets output variable named by the filter to the text:
228
+
- For each filter (Java, javascript-typescript-vue, python), it sets output variable named by the filter to the text:
227
229
- 'true'- if any of changed files matches any of filter rules
228
230
- 'false'- if none of changed files matches any of filter rules
231
+
- 'changes'- JSON array with names of all filters matching any of the changed files.
229
232
230
233
Workflows using that action need the following permissions:
231
234
@@ -425,6 +428,8 @@ Executes the following steps:
425
428
Output parameters:
426
429
427
430
1. `artifact-name`: Name of the uploaded artifact
431
+
2. `cyclone-artifact-id`: ID of the sbom artifact
432
+
3. `cyclone-path`: path of the sbom
428
433
429
434
Workflows using that action need the following permissions:
430
435
@@ -530,6 +535,8 @@ Executes the following steps:
530
535
Output parameters:
531
536
532
537
1. `artifact-name`: Name of the uploaded artifact
538
+
2. `cyclone-artifact-id`: ID of the sbom artifact
539
+
3. `cyclone-path`: path of the sbom
533
540
534
541
Workflows using that action need the following permissions:
535
542
@@ -555,7 +562,9 @@ Workflows using that action need the following permissions:
555
562
# Controls the execution of the 'npm run test' script
556
563
# Default: true
557
564
run-test: "true"
558
-
```
565
+
# disallow external scripts during npm ci https://about.gitlab.com/blog/pipeline-security-lessons-from-march-supply-chain-incidents/#use-case-2-detect-dependency-tampering-and-lockfile-manipulation
566
+
# Default: "--ignore-scripts=true"
567
+
npm-ci-parameter: "--ignore-scripts=true"
559
568
560
569
### action-npm-release
561
570
@@ -663,4 +672,13 @@ Workflows using that action need the following permissions:
0 commit comments