Skip to content

Commit 0e050aa

Browse files
authored
Correctly set the source repository when doing PR validation (#328)
### Description The previous workflow was just using the current repositories, which worked when I was testing but didn't work for actual PRs. ### Issues Resolved No Issue ### Check List - [X] Commits are signed per the DCO using `--signoff` By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License. Signed-off-by: Madelyn Olson <[email protected]>
1 parent 3d752d6 commit 0e050aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/zola-deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
ref: >-
2525
${{ github.event_name == 'pull_request' &&
2626
github.head_ref || 'main' }}
27+
repository: >-
28+
${{ github.event_name == 'pull_request' &&
29+
github.event.pull_request.head.repo.full_name || 'main' }}
2730
path: website
2831

2932
- name: Checkout valkey-doc

0 commit comments

Comments
 (0)