Skip to content

Commit

Permalink
Add sast-only lint step (output) as additional release asset
Browse files Browse the repository at this point in the history
  • Loading branch information
zkdev committed Sep 2, 2024
1 parent 1ef29ad commit 7e495be
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .ci/pipeline_definitions
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ delivery-dashboard:

jobs:
manual-release:
<<: *check-steps
steps:
lint-sast:
image: europe-docker.pkg.dev/gardener-project/releases/ocm-gear/delivery-dashboard-linter:latest
execute:
- 'lint'
- 'eslint.sast.config.mjs'
lint:
image: europe-docker.pkg.dev/gardener-project/releases/ocm-gear/delivery-dashboard-linter:latest
execute: lint
traits:
version:
preprocess: finalize
Expand All @@ -39,6 +47,16 @@ delivery-dashboard:
nextversion: bump_minor
release_notes_policy: disabled
release_commit_publishing_policy: tag_and_merge_back
assets:
- type: build-step-log
step_name: lint-sast
purposes:
- lint
- sast
- eslint
comment: |
we use eslint with "eslint-plugin-security" for SAST scans
see: https://github.com/eslint-community/eslint-plugin-security
notifications:
default:
on_error:
Expand Down

0 comments on commit 7e495be

Please sign in to comment.