Skip to content

Commit

Permalink
wip1
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Golaszewski committed Nov 14, 2024
1 parent 1f9ffa3 commit 2821867
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@ name: Trivy

on:
pull_request:
schedule:
- cron: '0 10 * * *'

# schedule:
# - cron: '0 10 * * *'
# push:
# branches:
# - main
# - 'v[0-9]+.[0-9]+'
# - '[0-9]+.[0-9]+'
# tags:
# - 'v[0-9]+.[0-9]+'
jobs:
scan:
runs-on: ubuntu-latest
strategy:
matrix:
branch: [master]
branch: [master, 'v[0-9]+.[0-9]+', '[0-9]+.[0-9]+']
permissions:
security-events: write
steps:
Expand All @@ -26,6 +32,8 @@ jobs:
format: "sarif"
output: "output.sarif"
severity: "MEDIUM,HIGH,CRITICAL"
env:
TRIVY_DB-REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db"
- name: Get commit sha
run: |
SHA="$(git rev-parse HEAD)"
Expand Down

0 comments on commit 2821867

Please sign in to comment.