chore(deps): update sonarsource/sonarqube-scan-action action to v6 (#51) #200
This file contains hidden or 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 | |
on: | |
push: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 4 * * *" # run once a day at 4 AM | |
jobs: | |
trivy-scan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- name: Run Trivy dependency scan | |
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # 0.33.1 | |
with: | |
scan-type: fs | |
format: table | |
exit-code: "1" | |
vuln-type: "os,library" | |
gitleaks: | |
name: gitleaks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
fetch-depth: 0 | |
- uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 # v2.3.9 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |