ratify-project / ratify

Artifact Ratification Framework
https://ratify.dev
Apache License 2.0
225 stars 63 forks source link

fix: fix the conditional check on update-trivy-cache job #1919

Closed binbin-li closed 2 weeks ago

binbin-li commented 2 weeks ago

Description

What this PR does / why we need it:

A quick fix to compare the correct ref_name instead of ref, otherwise the job would be skipped.

Tested in my forked repo: image

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):

Fixes #

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

Checklist:

Post Merge Requirements

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

see 133 files with indirect coverage changes