feat: release ksadk 0.8.3 #214
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Secret Pattern Audit | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| - "open-source/**" | |
| permissions: | |
| contents: read | |
| security-events: write | |
| jobs: | |
| scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Run Gitleaks | |
| env: | |
| GITLEAKS_VERSION: "8.28.0" | |
| run: | | |
| curl -sSfL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" -o /tmp/gitleaks.tar.gz | |
| tar -xzf /tmp/gitleaks.tar.gz -C /tmp gitleaks | |
| /tmp/gitleaks detect --source . --config .gitleaks.toml --no-banner --redact --verbose | |
| - name: Run open-source content audit | |
| run: | | |
| if [ -f export-manifest.json ]; then | |
| audit_root="$PWD" | |
| else | |
| make build-frontend | |
| audit_root="${RUNNER_TEMP}/ksadk-python-public-audit" | |
| rm -rf "$audit_root" | |
| python3 scripts/prepare_ksadk_python_export.py \ | |
| --output-dir "$audit_root" \ | |
| --summary | |
| fi | |
| python3 scripts/open_source_audit.py \ | |
| --root "$audit_root" \ | |
| --target public-repo |