Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/_security-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@ name: Security checks
on:
workflow_call:

permissions:
contents: read

jobs:
trivy:
name: Trivy scan
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Scan repo
uses: aquasecurity/[email protected]
uses: aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # 0.29.0
with:
scan-type: 'fs'
scan-ref: '.'
Expand All @@ -26,10 +29,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Set up Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: '22'

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/_static-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Static checks
on:
workflow_call:

permissions:
contents: read

jobs:
lint:
name: Lint and format checks
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/on-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ jobs:
static-checks:
name: Static checks
uses: ./.github/workflows/_static-checks.yaml
secrets: inherit
Loading