Skip to content

Commit ea21adc

Browse files
authored
BC-10096 update gh-actions (#315)
* add permission block to trivy cache update action
1 parent adb17dc commit ea21adc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
security-events: write
128128
steps:
129129
- name: run trivy vulnerability scanner
130-
uses: aquasecurity/trivy-action@0.29.0
130+
uses: aquasecurity/trivy-action@0.31.0
131131
with:
132132
image-ref: 'ghcr.io/${{ github.repository }}:${{ needs.branch_meta.outputs.sha }}'
133133
format: 'sarif'

.github/workflows/trivy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
- cron: '0 0 * * *' # Run daily at midnight UTC
88
workflow_dispatch: # Allow manual triggering
99

10+
permissions: {}
11+
1012
jobs:
1113
update-trivy-db:
1214
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)