Skip to content

chore(deps): update all digest updates (#60) #106

chore(deps): update all digest updates (#60)

chore(deps): update all digest updates (#60) #106

Workflow file for this run

# @license AGPL-3.0-or-later
#
# Copyright(C) 2025 8 Hobbies, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
name: Trivy Scanning
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
env:
DOCKER_CMD: docker
jobs:
scanning:
name: Trivy Scanning
runs-on: ubuntu-24.04
permissions:
security-events: write
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Install Trivy
uses: aquasecurity/[email protected]
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: 22
cache: "npm"
- name: Install npm dependencies
run: npm ci
- name: Run Trivy vulnerability scanner
run: npm run scan_security
# This is not required to pass because security from upstream container
# images are out of our control.
continue-on-error: true
- name: Upload Trivy fs scan results to GitHub Security tab
uses: github/codeql-action/[email protected]
with:
category: "trivy-fs"
sarif_file: "fs.sarif"
- name: Upload Trivy image scan results to GitHub Security tab
uses: github/codeql-action/[email protected]
with:
category: "trivy-image"
sarif_file: "image.sarif"