Skip to content

Commit 7cb2d79

Browse files
committed
Revert to pull_request_target workflow trigger
This seems to be required for image build & scanning to work (e.g. [here](https://github.com/stackhpc/azimuth-llm/actions/runs/11655504230/job/32450298649#step:8:2319). We explicity check out the correct ref in chart_validation to match other workflow steps and ensure we're testing the correct version of the chart.
1 parent 871c560 commit 7cb2d79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test-pr.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Test pull request
33

44
on:
5-
pull_request:
5+
pull_request_target:
66
types:
77
- opened
88
- synchronize
@@ -41,6 +41,8 @@ jobs:
4141
steps:
4242
- name: Checkout the repo
4343
uses: actions/checkout@v4
44+
with:
45+
ref: ${{ github.event.pull_request.head.sha }}
4446

4547
- name: Install Helm
4648
uses: azure/setup-helm@v4

0 commit comments

Comments
 (0)