Skip to content

Commit 0db4ff9

Browse files
committed
fix: vuln scan on schedule only requires brnach resolution
1 parent 5c6402c commit 0db4ff9

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/python.yaml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,8 +1468,12 @@ jobs:
14681468
14691469
14701470
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1471+
if: github.event_name == 'schedule'
14711472
with:
1472-
ref: ${{ env.BRANCH }}
1473+
ref: ${{ env.BRANCH }
1474+
1475+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
1476+
if: github.event_name != 'schedule'
14731477

14741478

14751479
- name: Run Trivy vulnerability scanner against ${{ matrix.requirements }}

0 commit comments

Comments
 (0)