-
Notifications
You must be signed in to change notification settings - Fork 0
🚀[Feature]: Add Notice_Mode input to control test completion notifications
#21
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
Conversation
…nd error handling
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 a new Notice_Mode input parameter to control when test completion notifications are displayed. The feature allows users to configure notification behavior with options for "Full" (show on success and failure), "Failed" (show only on failure), or "None" (disable notices).
- Added
Notice_Modeinput parameter with description and default value of 'Failed' - Updated action configuration to pass the new parameter to the test execution step
- Updated documentation table to include the new input parameter
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| action.yml | Added Notice_Mode input definition and passed it to the PSScriptAnalyzer test step |
| README.md | Updated inputs documentation table to include the new Notice_Mode parameter |
| scripts/main.ps1 | Modified settings file resolution logic with debug output (unrelated to Notice_Mode feature) |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Notice_Mode input to control test completion notifications
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 4 out of 4 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This release introduces a new
Notice_Modeinput parameter to control when GitHub notices are displayed for test completion. By default, notices are now only shown on test failure, providing more flexibility in managing action output verbosity.What's New
Notice_Mode- Controls when GitHub notices are displayed for test completion:Full: Show notices on both success and failure.Failed(default): Show notices only on failure.None: Disable notices entirely.This provides more flexibility in managing action output verbosity.
Changes
action.ymlto define the new input and pass it via environment variables.README.mdwith input documentation.