chore: set appropriate logging levels so the info log-level is module-level logs #3890
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: Container Scans | |
| permissions: | |
| actions: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| merge_group: | |
| paths-ignore: | |
| - "LICENSE" | |
| - "CODEOWNERS" | |
| jobs: | |
| container-scans: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Use Node.js latest | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version: 20 | |
| cache: "npm" | |
| - name: Install Pepr Dependencies | |
| run: npm ci | |
| - name: Build Pepr Controller Image | |
| run: npm run build:image | |
| - name: Configure Grype Ignore File | |
| run: | | |
| mkdir -p ~/.grype | |
| echo "ignore:" > ~/.grype.yaml | |
| echo " - vulnerability: CVE-2025-4802" >> ~/.grype.yaml | |
| echo " - vulnerability: CVE-2025-22874" >> ~/.grype.yaml | |
| - name: Vulnerability Scan | |
| uses: anchore/scan-action@df395807f4554463d4455b8047cf58e37b6acaae # v6.5.0 | |
| with: | |
| image: "pepr:dev" | |
| fail-build: true | |
| severity-cutoff: high | |
| - name: Generate SBOM | |
| uses: anchore/sbom-action@7b36ad622f042cab6f59a75c2ac24ccb256e9b45 # v0.20.4 | |
| with: | |
| image: pepr:dev | |
| upload-artifact: true | |
| upload-artifact-retention: 30 |