Skip to content

Commit

Permalink
fix: fix the conditional check on update-trivy-cache job (ratify-proj…
Browse files Browse the repository at this point in the history
…ect#1919)

Signed-off-by: Binbin Li <[email protected]>
  • Loading branch information
binbin-li authored Nov 8, 2024
1 parent 4ab047b commit 18a8878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-trivy-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions: read-all
jobs:
update-trivy-db:
runs-on: ubuntu-latest
if: ${{ github.ref == github.event.repository.default_branch }}
if: ${{ github.ref_name == github.event.repository.default_branch }}
steps:
- name: Setup oras
uses: oras-project/setup-oras@9c92598691bfef1424de2f8fae81941568f5889c # v1.2.1
Expand Down

0 comments on commit 18a8878

Please sign in to comment.