diff --git a/.github/workflows/scanwise.yml b/.github/workflows/scanwise.yml new file mode 100644 index 0000000..7941f26 --- /dev/null +++ b/.github/workflows/scanwise.yml @@ -0,0 +1,31 @@ +# .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","pdf","html","json"]' + reports-retention-days: '90' + new-code-n-days: '1000d' + generate-pr-comment: true + pre-scan-script: | + echo "Running pre-scan setup..." + # Add your custom setup commands here