Skip to content

Commit

Permalink
Revert to pull_request_target workflow trigger
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sd109 committed Nov 4, 2024
1 parent 871c560 commit 7cb2d79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Test pull request

on:
pull_request:
pull_request_target:
types:
- opened
- synchronize
Expand Down Expand Up @@ -41,6 +41,8 @@ jobs:
steps:
- name: Checkout the repo
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Install Helm
uses: azure/setup-helm@v4
Expand Down

0 comments on commit 7cb2d79

Please sign in to comment.