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

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
pull/10805/head
Brad Davidson 3 months ago committed by Brad Davidson
parent de4bb2e13c
commit 3d6e4a793a

@ -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: |

Loading…
Cancel
Save