Skip to content

Commit 3311a3a

Browse files
Tsotne Tabidzefelixwang9817
authored andcommitted
Fix checked out branch for PR docker image build workflow (#2018)
Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
1 parent 0db6bc2 commit 3311a3a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎.github/workflows/pr_integration_tests.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v2
18+
with:
19+
# pull_request_target runs the workflow in the context of the base repo
20+
# as such actions/checkout needs to be explicit configured to retrieve
21+
# code from the PR.
22+
ref: refs/pull/${{ github.event.pull_request.number }}/merge
23+
submodules: recursive
1824
- name: Set up QEMU
1925
uses: docker/setup-qemu-action@v1
2026
- name: Set up Docker Buildx

0 commit comments

Comments
 (0)