Skip to content

fix: resolve CI workflow failures #3

fix: resolve CI workflow failures

fix: resolve CI workflow failures #3

Workflow file for this run

name: Security Scan
on:
pull_request:
branches: [main]
push:
branches: [main]
schedule:
# Run weekly on Mondays at 9 AM UTC
- cron: '0 9 * * 1'
jobs:
trufflehog:
name: Secret Scanning
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@main
with:
path: ./
base: ${{ github.event.before }}
head: ${{ github.event.after }}
extra_args: --debug --only-verified
dependencies:
name: Dependency Scanning
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
format: 'sarif'
output: 'trivy-results.sarif'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
if: always() && github.event_name == 'pull_request'
with:
sarif_file: 'trivy-results.sarif'