Skip to content

Commit cf65ca9

Browse files
authored
update repo task file (#30)
1 parent 4ed19f9 commit cf65ca9

File tree

2 files changed

+35
-10
lines changed

2 files changed

+35
-10
lines changed

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333
- uses: actions/checkout@v4
3434
# Node.js dependencies scan
35-
# Disabled since harmon-stack doesn not build a package.json file
35+
# Disabled since harmon-stack does not build a package.json file
3636
# - name: Setup Node.js
3737
# uses: actions/setup-node@v4
3838
# with:

Taskfile.yml

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,50 @@ tasks:
1313
silent: true
1414
validate:
1515
cmds:
16-
- pre-commit run --all-files
17-
# - shellcheck osConfig/mac/updateMac.sh
18-
# - shellcheck osConfig/mac/setupMac.sh
19-
# - shellcheck osConfig/mac/configureMacSettings.sh
16+
- task: preCommit
17+
- task: check
2018
silent: true
21-
pre-commit:
19+
preCommit:
2220
cmds:
2321
- pre-commit run --all-files
2422
silent: true
23+
check:
24+
cmds:
25+
- npm run check:astro
26+
- npm run check:eslint
27+
- cmd: npm run check:prettier
28+
# - shellcheck osConfig/mac/updateMac.sh
29+
# - shellcheck osConfig/mac/setupMac.sh
30+
# - shellcheck osConfig/mac/configureMacSettings.sh
31+
ignore_error: true
32+
silent: true
33+
fix:
34+
cmds:
35+
- npm run fix
36+
silent: true
2537
security:
38+
cmds:
39+
- task: secrets
40+
- task: sast
41+
ignore_error: true
42+
silent: true
43+
secrets:
2644
cmds:
2745
- ./check_for_pattern.sh . "*secret*"
2846
- whispers --config test/whisperConfig.yml --severity BLOCKER,CRITICAL .
29-
- task: snyk
3047
silent: true
31-
snyk:
48+
sast:
49+
cmds:
50+
- task: sast-dependencies
51+
- task: sast-code
52+
silent: true
53+
sast-dependencies:
54+
cmds:
55+
- snyk test --all-projects
56+
silent: true
57+
sast-code:
3258
cmds:
33-
- snyk test --file=requirements.txt
34-
- snyk test --file=package.json
59+
- snyk code test
3560
silent: true
3661
ghReleaseInit:
3762
cmds:

0 commit comments

Comments
 (0)