Skip to content

Commit

Permalink
fix: Trivy Scan CI checkout Action (#19842)
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-jain-10 authored Feb 17, 2025
1 parent be0eb95 commit 50f05f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/trivy-scan-ingestion-base-slim-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:

- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Prepare for Docker Build
id: prepare
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/trivy-scan-ingestion-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:

- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Prepare for Docker Build
id: prepare
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/trivy-scan-openmetadta-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:

- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Prepare for Docker Build
id: prepare
Expand Down

0 comments on commit 50f05f3

Please sign in to comment.