Skip to content

Commit d969b13

Browse files
committed
Update workflow
1 parent d79410f commit d969b13

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/scan-virus.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ on:
1616
inputs:
1717
git_integrate:
1818
type: "choice"
19-
description: "{Boolean} Whether to integrate with Git to perform scan by the commits."
19+
description: "{Boolean} Whether to integrate with Git to perform scan by every commits."
2020
required: false
2121
default: "False"
2222
options:
2323
- "False"
2424
- "True"
2525
git_limit:
2626
type: "string"
27-
description: "{UInt} Limit on how many Git commits will scan."
27+
description: "{UInt64} Limit on how many Git commits will scan."
2828
required: false
2929
default: "0"
3030
git_reverse:
@@ -38,8 +38,13 @@ on:
3838
jobs:
3939
main:
4040
name: "Main"
41-
uses: "hugoalh/hugoalh/.github/workflows/reusable-scan-virus.yml@main"
41+
uses: "hugoalh/hugoalh/.github/workflows/reusable-scan-virus-1.yml@main"
4242
with:
4343
git_integrate: "${{github.event.inputs.git_integrate || 'False'}}"
4444
git_limit: "${{github.event.inputs.git_limit || '0'}}"
4545
git_reverse: "${{github.event.inputs.git_reverse || 'False'}}"
46+
ignores_post: |-
47+
Param($ElementPostMeta)
48+
Return (
49+
$ElementPostMeta.Path -imatch '^node_modules[\/]'
50+
)

0 commit comments

Comments
 (0)