Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/mend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ on:
required: false
type: string
default: ""
SCA_EXCLUDE_CONFIGURATIONS:
description: "Comma-separated list of (Gradle) configurations to exclude from SCA scan (e.g. 'test*,compileOnly')"
required: false
type: string
default: "test*,functionalTest*,compileOnly"
SAST_EXCLUDES:
description: "Comma-separated list of file paths to exclude from SAST scan (e.g. 'dir1/**,dir2/file.txt')"
required: false
Expand Down Expand Up @@ -122,7 +127,7 @@ jobs:
return check.id;

- name: Run Mend CLI scan
uses: project-ncl/shared-github-actions/.github/actions/mend@0fd979fcdd90cf1b62e6410221d64efd6b470865 # v0.0.21
uses: project-ncl/shared-github-actions/.github/actions/mend@7a159ca8e867d1178e9634ab0ddc0dd1dfb10d49 # main

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once 0.0.22 is released I guess this can be reverted to a tagged version?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

with:
PROJECT_NAME: ${{ github.event.repository.name }}
TAGS: >-
Expand All @@ -133,6 +138,7 @@ jobs:
SCA_REACHABILITY: ${{ inputs.SCA_REACHABILITY }}
SAST: ${{ inputs.SAST }}
SCA_EXCLUDES: ${{ inputs.SCA_EXCLUDES }}
SCA_EXCLUDE_CONFIGURATIONS: ${{ inputs.SCA_EXCLUDE_CONFIGURATIONS }}
SAST_EXCLUDES: ${{ inputs.SAST_EXCLUDES }}
source_ref: ${{ steps.metadata.outputs.pr_number && format('refs/pull/{0}/head', steps.metadata.outputs.pr_number) || '' }}
source_sha: ${{ steps.metadata.outputs.pr_sha || '' }}
Expand Down