Skip to content

Correctly set the source repository when doing PR validation #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 6, 2025

Conversation

madolson
Copy link
Member

@madolson madolson commented Aug 6, 2025

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

  • 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 <madelyneolson@gmail.com>
@madolson madolson requested a review from stockholmux as a code owner August 6, 2025 16:18
@@ -24,6 +24,9 @@ jobs:
ref: >-
${{ github.event_name == 'pull_request' &&
github.head_ref || 'main' }}
repository: >-
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels ugly, but I'm not entirely sure exactly what is the more correct way to do this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are github actions supposed to be pretty? If it works, I'm not opposed

@@ -24,6 +24,9 @@ jobs:
ref: >-
${{ github.event_name == 'pull_request' &&
github.head_ref || 'main' }}
repository: >-
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are github actions supposed to be pretty? If it works, I'm not opposed

@madolson madolson merged commit 0e050aa into valkey-io:main Aug 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants