-
Notifications
You must be signed in to change notification settings - Fork 0
Add support for checking out non-existent branches in JUnit reports workflow #28
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
Add support for checking out non-existent branches in JUnit reports workflow #28
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for gracefully handling non-existent branches in the JUnit reports workflow, allowing the action to continue on the default branch instead of failing.
- Adds logic to check if a target branch exists before attempting to checkout
- Implements fallback behavior to stay on the default branch when the target branch doesn't exist
- Adds integration test to verify the new non-existent branch handling functionality
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| checkout-junit-reports/action.yml | Adds branch existence checks and fallback logic for non-existent branches |
| .github/workflows/integration-test.yml | Adds test case to verify non-existent branch handling behavior |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
5239f4c to
7c3961d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
b203a70 to
1384367
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
1384367 to
eb93d41
Compare
No description provided.