Skip to content

chore(deps): bump gitleaks/gitleaks-action from 2.3.9 to 3.0.0 #90

chore(deps): bump gitleaks/gitleaks-action from 2.3.9 to 3.0.0

chore(deps): bump gitleaks/gitleaks-action from 2.3.9 to 3.0.0 #90

Workflow file for this run

name: Security and supply chain
on:
push:
branches: [main]
pull_request:
schedule:
- cron: "17 3 * * 1"
permissions:
contents: read
security-events: write
jobs:
codeql:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4
with:
languages: javascript-typescript
- uses: github/codeql-action/analyze@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4
dependencies-and-secrets:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@e0c47f4f8be36e29cdc102c57e68cb5cbf0e8d1e # v3.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: pnpm/action-setup@f40ffcd9367d9f12939873eb1018b921a783ffaa # v4
with:
version: 11.17.0
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: "24"
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm audit --audit-level high
- name: Check production licences
run: |
pnpm licenses list --prod --json | tee licenses.json
! grep -E '"(AGPL|SSPL)' licenses.json
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: dependency-licences
path: licenses.json
image:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
- uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: .
load: true
pull: true
tags: muster:security
- uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
with:
image-ref: muster:security
format: sarif
output: trivy.sarif
severity: HIGH,CRITICAL
ignore-unfixed: true
exit-code: "1"
- uses: anchore/sbom-action@e22c389904149dbc22b58101806040fa8d37a610 # v0
with:
image: muster:security
format: cyclonedx-json
output-file: muster-sbom.cdx.json
upload-artifact: false
- name: Generate provenance metadata and checksums
run: |
printf '{"commit":"%s","workflow":"%s","runId":"%s","image":"muster:security"}\n' \
"$GITHUB_SHA" "$GITHUB_WORKFLOW" "$GITHUB_RUN_ID" > provenance.json
sha256sum muster-sbom.cdx.json provenance.json > SHA256SUMS
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: security-artifacts
path: |
muster-sbom.cdx.json
provenance.json
SHA256SUMS
trivy.sarif