chore(deps-js)(deps-dev): bump flatted from 3.3.3 to 3.4.2 in /ui #103
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: SDLE Scans | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| schedule: | |
| - cron: '0 12 * * 5' | |
| concurrency: | |
| group: sdle-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| security-events: write | |
| pull-requests: read | |
| jobs: | |
| dependency_review: | |
| name: Dependency Review | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/dependency-review-action@v5 | |
| with: | |
| fail-on-severity: high | |
| comment-summary-in-pr: on-failure | |
| trivy_scan: | |
| name: Trivy Scan | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Run Trivy misconfig and secret scan (blocking) | |
| uses: aquasecurity/trivy-action@v0.36.0 | |
| with: | |
| scan-type: fs | |
| scan-ref: . | |
| scanners: misconfig,secret | |
| severity: CRITICAL,HIGH | |
| ignore-unfixed: true | |
| exit-code: '1' | |
| format: sarif | |
| output: trivy-misconfig-secret.sarif | |
| - name: Run Trivy license scan (informational) | |
| if: always() | |
| uses: aquasecurity/trivy-action@v0.36.0 | |
| with: | |
| scan-type: fs | |
| scan-ref: . | |
| scanners: license | |
| exit-code: '0' | |
| format: sarif | |
| output: trivy-license.sarif | |
| - name: Upload Trivy misconfig and secret SARIF | |
| if: always() | |
| uses: github/codeql-action/upload-sarif@v4 | |
| with: | |
| sarif_file: trivy-misconfig-secret.sarif | |
| category: trivy-misconfig-secret | |
| - name: Upload Trivy license SARIF | |
| if: always() | |
| uses: github/codeql-action/upload-sarif@v4 | |
| with: | |
| sarif_file: trivy-license.sarif | |
| category: trivy-license | |
| - name: Upload Trivy report artifacts | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: trivy-reports | |
| path: | | |
| trivy-misconfig-secret.sarif | |
| trivy-license.sarif | |
| retention-days: 30 | |
| codeql_scan: | |
| name: CodeQL Analysis | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write | |
| contents: read | |
| actions: read | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: [python, javascript] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: ${{ matrix.language }} | |
| queries: security-extended | |
| - name: Autobuild | |
| uses: github/codeql-action/autobuild@v4 | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: "/language:${{ matrix.language }}" |