Merge pull request #244 from soerenschneider/renovate/miniflux-minifl… #1529
This file contains 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: "security-scanners" | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- "master" | |
- "main" | |
pull_request: {} | |
workflow_dispatch: {} | |
jobs: | |
trivy: | |
name: "trivy" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
- name: "Run Trivy vulnerability scanner in fs mode" | |
uses: "aquasecurity/trivy-action@master" | |
env: | |
TRIVY_DB_REPOSITORY: "ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db" | |
with: | |
scan-type: "fs" | |
scan-ref: "." | |
trivy-config: "trivy.yaml" | |
gitleaks: | |
name: "gitleaks" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
with: | |
fetch-depth: 0 | |
- uses: "gitleaks/gitleaks-action@v2" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |