From 541373ea64f45c4a06d2baad2bcc5fb584237ea7 Mon Sep 17 00:00:00 2001 From: gitricko Date: Mon, 21 Jul 2025 20:43:01 +0000 Subject: [PATCH 1/3] test scanwise --- .github/workflows/scanwise.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/scanwise.yml diff --git a/.github/workflows/scanwise.yml b/.github/workflows/scanwise.yml new file mode 100644 index 0000000..084be3e --- /dev/null +++ b/.github/workflows/scanwise.yml @@ -0,0 +1,27 @@ +# .github/workflows/scanwise.yml +name: 'Scanwise Analysis' + +on: + workflow_dispatch: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + scanwise: + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + issues: write + steps: + - name: Scanwise Scan + uses: VIDADv1/scanwise@v1 + with: + reports-scopes: '["overall", "new"]' + reports-extensions: '["md"]' + reports-retention-days: '1' + generate-pr-comment: true \ No newline at end of file From c85d4dfb0bd093ee6acf8ea6bd345767a24b0b78 Mon Sep 17 00:00:00 2001 From: gitricko Date: Mon, 21 Jul 2025 20:59:54 +0000 Subject: [PATCH 2/3] test other format --- .github/workflows/scanwise.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/scanwise.yml b/.github/workflows/scanwise.yml index 084be3e..df7d404 100644 --- a/.github/workflows/scanwise.yml +++ b/.github/workflows/scanwise.yml @@ -22,6 +22,9 @@ jobs: uses: VIDADv1/scanwise@v1 with: reports-scopes: '["overall", "new"]' - reports-extensions: '["md"]' - reports-retention-days: '1' - generate-pr-comment: true \ No newline at end of file + reports-extensions: '["md","pdf","html","json"]' + reports-retention-days: '1000d' + generate-pr-comment: true + pre-scan-script: | + echo "Running pre-scan setup..." + # Add your custom setup commands here From 768538c27332fbcf4c223b32218fce3e22ed8268 Mon Sep 17 00:00:00 2001 From: gitricko Date: Mon, 21 Jul 2025 21:07:47 +0000 Subject: [PATCH 3/3] test --- .github/workflows/scanwise.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scanwise.yml b/.github/workflows/scanwise.yml index df7d404..7941f26 100644 --- a/.github/workflows/scanwise.yml +++ b/.github/workflows/scanwise.yml @@ -23,7 +23,8 @@ jobs: with: reports-scopes: '["overall", "new"]' reports-extensions: '["md","pdf","html","json"]' - reports-retention-days: '1000d' + reports-retention-days: '90' + new-code-n-days: '1000d' generate-pr-comment: true pre-scan-script: | echo "Running pre-scan setup..."