|
|
@ -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: |
|
|
|
@ -45,4 +45,4 @@ jobs:
|
|
|
|
- name: Report Failure
|
|
|
|
- name: Report Failure
|
|
|
|
if: ${{ failure() }}
|
|
|
|
if: ${{ failure() }}
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
gh issue comment ${{ github.event.issue.number }} --edit-last -b ":x: Trivy scan action failed, check logs :x:"
|
|
|
|
gh issue comment ${{ github.event.issue.number }} --edit-last -b ":x: Trivy scan action failed, check logs :x:"
|
|
|
|