Skip to content

Commit

Permalink
update repo task file (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
evanharmon1 authored Feb 4, 2025
1 parent 4ed19f9 commit cf65ca9
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
steps:
- uses: actions/checkout@v4
# Node.js dependencies scan
# Disabled since harmon-stack doesn not build a package.json file
# Disabled since harmon-stack does not build a package.json file
# - name: Setup Node.js
# uses: actions/setup-node@v4
# with:
Expand Down
43 changes: 34 additions & 9 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,50 @@ tasks:
silent: true
validate:
cmds:
- pre-commit run --all-files
# - shellcheck osConfig/mac/updateMac.sh
# - shellcheck osConfig/mac/setupMac.sh
# - shellcheck osConfig/mac/configureMacSettings.sh
- task: preCommit
- task: check
silent: true
pre-commit:
preCommit:
cmds:
- pre-commit run --all-files
silent: true
check:
cmds:
- npm run check:astro
- npm run check:eslint
- cmd: npm run check:prettier
# - shellcheck osConfig/mac/updateMac.sh
# - shellcheck osConfig/mac/setupMac.sh
# - shellcheck osConfig/mac/configureMacSettings.sh
ignore_error: true
silent: true
fix:
cmds:
- npm run fix
silent: true
security:
cmds:
- task: secrets
- task: sast
ignore_error: true
silent: true
secrets:
cmds:
- ./check_for_pattern.sh . "*secret*"
- whispers --config test/whisperConfig.yml --severity BLOCKER,CRITICAL .
- task: snyk
silent: true
snyk:
sast:
cmds:
- task: sast-dependencies
- task: sast-code
silent: true
sast-dependencies:
cmds:
- snyk test --all-projects
silent: true
sast-code:
cmds:
- snyk test --file=requirements.txt
- snyk test --file=package.json
- snyk code test
silent: true
ghReleaseInit:
cmds:
Expand Down

0 comments on commit cf65ca9

Please sign in to comment.