Skip to content

Commit 17dabec

Browse files
authored
Fix action to run trivy security scan (#656)
* Fix action to run trivy security scan * Try running it * Finish
1 parent c39b73b commit 17dabec

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/trivy-security-scanning.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ on:
55
- main
66
schedule:
77
- cron: '30 0 * * 1-5' # From Monday to Friday (included), at 0:30 UTC
8+
workflow_dispatch:
89

910
permissions:
1011
security-events: write # To upload sarif files
1112

1213
jobs:
1314
chart-test:
14-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-24.04
1516
steps:
1617
- name: Checkout
1718
uses: actions/checkout@v4
@@ -25,10 +26,10 @@ jobs:
2526
2627
- uses: actions/setup-python@v5
2728
with:
28-
python-version: '3.7'
29+
python-version: '3.13'
2930

3031
- name: Run Trivy vulnerability scanner in IaC mode
31-
uses: aquasecurity/trivy-action@0.20.0
32+
uses: aquasecurity/trivy-action@0.28.0
3233
with:
3334
scan-type: 'config'
3435
hide-progress: false

0 commit comments

Comments
 (0)