GHA: Update testing-farm action to use main branch#458
Draft
Conversation
v2 was released quite sometime ago. GHA: set trigger to pull_request_target - Remove checkout step (Testing Farm clones the repo on VM) - Use PR head repo/sha to test actual PR changes - Fallback to base repo for push events - Keeps secrets isolated from untrusted PR code Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates the XML validation GitHub Actions workflow to run on pull_request_target, use the main branch of the Testing Farm action, drop the checkout step, and configure Testing Farm to test the actual PR head for pull requests while falling back to the base repo/ref for other events. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
- Add basic-check job that runs after xmllint-validation passes - Extract common parameters (git_url, git_ref) to workflow-level env - Each job provisions a separate Testing Farm instance - Sequential execution ensures early stopping on validation failure Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v2 was released quite sometime ago.
GHA: set trigger to pull_request_target
Summary by Sourcery
Update the Testing Farm XML validation workflow to run on pull_request_target and use PR-specific sources while keeping secrets isolated from untrusted code.
CI: