Skip to content

Commit dbd489a

Browse files
dbasunagadolfo-ab
authored andcommitted
Checkout the PR branch to build container
1 parent 212b8d9 commit dbd489a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/push-container-on-comment.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ jobs:
1414
if: contains(github.event.comment.body, '/build-push-pr-image')
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: Checkout Repository
17+
- name: Checkout pull request
1818
uses: actions/checkout@v4
19+
with:
20+
ref: refs/pull/${{ github.event.issue.number }}/head
1921
- name: Install uv
2022
uses: astral-sh/setup-uv@v6
2123

.github/workflows/workflow-review.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# https://stackoverflow.com/questions/67247752/how-to-use-secret-in-pull-request-review-similar-to-pull-request-target
12
name: Dummy Workflow on review
23

34
on:

0 commit comments

Comments
 (0)