Commit f4fcfef2 authored by Brad Davidson's avatar Brad Davidson Committed by Brad Davidson

Fix /trivy action running against target branch instead of PR branch

Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com> (cherry picked from commit 3d6e4a79) Signed-off-by: 's avatarBrad Davidson <brad.davidson@rancher.com>
parent 88b3b49c
...@@ -16,7 +16,7 @@ jobs: ...@@ -16,7 +16,7 @@ jobs:
- name: Checkout PR code - name: Checkout PR code
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: ${{ github.event.issue.pull_request.head.ref }} ref: refs/pull/${{ github.event.issue.number }}/head
- name: Comment Status on PR - name: Comment Status on PR
run: | run: |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment