From cfde0bde8c429dd29f5d70a37fbb050e4e4b5f41 Mon Sep 17 00:00:00 2001 From: Sampurna Pyne Date: Mon, 16 Nov 2026 21:25:11 +0530 Subject: [PATCH 1/8] (ci): add find_vulnerabilities workflow Signed-off-by: Sampurna Pyne --- .github/workflows/find-vulnerabilities.yml | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/find-vulnerabilities.yml diff --git a/.github/workflows/find-vulnerabilities.yml b/.github/workflows/find-vulnerabilities.yml new file mode 100644 index 000000000..60d915bac --- /dev/null +++ b/.github/workflows/find-vulnerabilities.yml @@ -0,0 +1,40 @@ +name: Find dependencies vulnerabilities + +on: + workflow_dispatch: + schedule: + # Run weekly + - cron: '0 0 * * 0' + pull_request: + paths: + - 'setup.cfg' + - 'requirements*.txt' + - 'pyproject.toml' + - '.github/workflows/find-vulnerabilities.yml' + +jobs: + scan-dependencies: + runs-on: ubuntu-24.04 + permissions: + contents: read + + name: Inspect packages with ScanCode.io + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + path: scancode-inputs + sparse-checkout: | + pyproject.toml + setup.cfg + requirements.txt + sparse-checkout-cone-mode: false + persist-credentials: false # do not keep the token around + + - name: Fail on known vulnerabilities + uses: aboutcode-org/scancode-action@76777db8400d719de67ba3e465c5881037b45cb9 # v0.1 + with: + pipelines: "inspect_packages:StaticResolver,find_vulnerabilities" + check-compliance: true + compliance-fail-on-vulnerabilities: true + env: + VULNERABLECODE_URL: https://public.vulnerablecode.io/ From f5297bdaff04714de1d4eaf47ca479c18eff518d Mon Sep 17 00:00:00 2001 From: Sampurna Pyne Date: Mon, 16 Nov 2026 21:26:38 +0530 Subject: [PATCH 2/8] (ci): enable trigger on push Signed-off-by: Sampurna Pyne --- .github/workflows/find-vulnerabilities.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/find-vulnerabilities.yml b/.github/workflows/find-vulnerabilities.yml index 60d915bac..063c5eeaf 100644 --- a/.github/workflows/find-vulnerabilities.yml +++ b/.github/workflows/find-vulnerabilities.yml @@ -11,6 +11,7 @@ on: - 'requirements*.txt' - 'pyproject.toml' - '.github/workflows/find-vulnerabilities.yml' + push: # add temporarily for testing jobs: scan-dependencies: From b341319d60b2472a56ccc2afa354cdf4fd6e6dd2 Mon Sep 17 00:00:00 2001 From: Sampurna Pyne Date: Tue, 17 Nov 2026 17:51:42 +0530 Subject: [PATCH 3/8] (ci):Remove trigger on push Signed-off-by: Sampurna Pyne --- .github/workflows/find-vulnerabilities.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/find-vulnerabilities.yml b/.github/workflows/find-vulnerabilities.yml index 063c5eeaf..60d915bac 100644 --- a/.github/workflows/find-vulnerabilities.yml +++ b/.github/workflows/find-vulnerabilities.yml @@ -11,7 +11,6 @@ on: - 'requirements*.txt' - 'pyproject.toml' - '.github/workflows/find-vulnerabilities.yml' - push: # add temporarily for testing jobs: scan-dependencies: From 1841c0bbfdc419f5fe6ee06f366c20267cd78b4e Mon Sep 17 00:00:00 2001 From: Sampurna Pyne Date: Mon, 23 Nov 2026 17:52:14 +0530 Subject: [PATCH 4/8] (ci): add outputs, VulnerableCode API Key and enable trigger on tag release Signed-off-by: Sampurna Pyne --- .github/workflows/find-vulnerabilities.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/find-vulnerabilities.yml b/.github/workflows/find-vulnerabilities.yml index 60d915bac..79fcbccc2 100644 --- a/.github/workflows/find-vulnerabilities.yml +++ b/.github/workflows/find-vulnerabilities.yml @@ -5,6 +5,9 @@ on: schedule: # Run weekly - cron: '0 0 * * 0' + push: + tags: + - "v*.*.*" pull_request: paths: - 'setup.cfg' @@ -36,5 +39,7 @@ jobs: pipelines: "inspect_packages:StaticResolver,find_vulnerabilities" check-compliance: true compliance-fail-on-vulnerabilities: true + outputs-archive-name: "vulnerablecode-scan" env: VULNERABLECODE_URL: https://public.vulnerablecode.io/ + VULNERABLECODE_API_KEY: ${{ secrets.VULNERABLECODE_API_KEY }} From 6799d38497adaa8ac5d052dffdbc244a4ca88b5d Mon Sep 17 00:00:00 2001 From: Sampurna Pyne Date: Thu, 26 Nov 2026 14:27:20 +0530 Subject: [PATCH 5/8] (ci): pin scancodeio-image to latest Signed-off-by: Sampurna Pyne --- .github/workflows/find-vulnerabilities.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/find-vulnerabilities.yml b/.github/workflows/find-vulnerabilities.yml index 79fcbccc2..5e54d6306 100644 --- a/.github/workflows/find-vulnerabilities.yml +++ b/.github/workflows/find-vulnerabilities.yml @@ -40,6 +40,7 @@ jobs: check-compliance: true compliance-fail-on-vulnerabilities: true outputs-archive-name: "vulnerablecode-scan" + scancodeio-image: "ghcr.io/aboutcode-org/scancode.io@sha256:496e9715e69ea6074483bb215bb4fb57fb9f3225108f9b56d83ca4e75c74d7f1" env: VULNERABLECODE_URL: https://public.vulnerablecode.io/ VULNERABLECODE_API_KEY: ${{ secrets.VULNERABLECODE_API_KEY }} From e0f9db708a0ee52a20446222c2b479a798dfc222 Mon Sep 17 00:00:00 2001 From: Sampurna Pyne Date: Mon, 30 Nov 2026 12:12:46 +0530 Subject: [PATCH 6/8] (ci): pin scancodeio-image to v38.1.0 Signed-off-by: Sampurna Pyne --- .github/workflows/find-vulnerabilities.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/find-vulnerabilities.yml b/.github/workflows/find-vulnerabilities.yml index 5e54d6306..1d5b6bd3a 100644 --- a/.github/workflows/find-vulnerabilities.yml +++ b/.github/workflows/find-vulnerabilities.yml @@ -40,7 +40,7 @@ jobs: check-compliance: true compliance-fail-on-vulnerabilities: true outputs-archive-name: "vulnerablecode-scan" - scancodeio-image: "ghcr.io/aboutcode-org/scancode.io@sha256:496e9715e69ea6074483bb215bb4fb57fb9f3225108f9b56d83ca4e75c74d7f1" + scancodeio-image: "ghcr.io/aboutcode-org/scancode.io@sha256:c633f971499e59b841a44ce6822f337f6e5a7bc24baccf55c82ed93eb7c433c1" # v38.1.0 env: VULNERABLECODE_URL: https://public.vulnerablecode.io/ VULNERABLECODE_API_KEY: ${{ secrets.VULNERABLECODE_API_KEY }} From 19d32a888f70c5a41cc6ba4b8ec7cdc9bd887260 Mon Sep 17 00:00:00 2001 From: Sampurna Pyne Date: Mon, 30 Nov 2026 15:41:30 +0530 Subject: [PATCH 7/8] test-ci: temporarily point to fork Signed-off-by: Sampurna Pyne --- .github/workflows/find-vulnerabilities.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/find-vulnerabilities.yml b/.github/workflows/find-vulnerabilities.yml index 1d5b6bd3a..ed7802bbf 100644 --- a/.github/workflows/find-vulnerabilities.yml +++ b/.github/workflows/find-vulnerabilities.yml @@ -34,7 +34,7 @@ jobs: persist-credentials: false # do not keep the token around - name: Fail on known vulnerabilities - uses: aboutcode-org/scancode-action@76777db8400d719de67ba3e465c5881037b45cb9 # v0.1 + uses: Samk1710/scancode-action@9bada4c56e4b046a88ee441c925df5d11679c571 # temporary test for vcio config issue with: pipelines: "inspect_packages:StaticResolver,find_vulnerabilities" check-compliance: true From 3789ddedd474be3826ebc5a80099b65731478aa6 Mon Sep 17 00:00:00 2001 From: Sampurna Pyne Date: Tue, 1 Dec 2026 19:29:58 +0530 Subject: [PATCH 8/8] ci: pin scio image v38.4.0 and scancode-action Signed-off-by: Sampurna Pyne --- .github/workflows/find-vulnerabilities.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/find-vulnerabilities.yml b/.github/workflows/find-vulnerabilities.yml index ed7802bbf..ae3796646 100644 --- a/.github/workflows/find-vulnerabilities.yml +++ b/.github/workflows/find-vulnerabilities.yml @@ -34,13 +34,13 @@ jobs: persist-credentials: false # do not keep the token around - name: Fail on known vulnerabilities - uses: Samk1710/scancode-action@9bada4c56e4b046a88ee441c925df5d11679c571 # temporary test for vcio config issue + uses: aboutcode-org/scancode-action@9e6268bf4cd2415504890c605b3061e4db16781a with: pipelines: "inspect_packages:StaticResolver,find_vulnerabilities" check-compliance: true compliance-fail-on-vulnerabilities: true outputs-archive-name: "vulnerablecode-scan" - scancodeio-image: "ghcr.io/aboutcode-org/scancode.io@sha256:c633f971499e59b841a44ce6822f337f6e5a7bc24baccf55c82ed93eb7c433c1" # v38.1.0 + scancodeio-image: "ghcr.io/aboutcode-org/scancode.io@sha256:1a7f26560b19fbcf02bf10b1b492128718474ab3202f7b552dacf98d806a6abd" # v38.4.0 env: VULNERABLECODE_URL: https://public.vulnerablecode.io/ VULNERABLECODE_API_KEY: ${{ secrets.VULNERABLECODE_API_KEY }}