🚀 [Feature]: Configure PowerShell ErrorView settings#49
Merged
MariusStorhaug merged 1 commit intomainfrom Apr 26, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new input option to configure the PowerShell $ErrorView variable in the GitHub Action. Key changes include:
- Adding the ErrorView input configuration in action.yml with a default value of 'NormalView'
- Mapping the new input to the corresponding environment variable in action.yml
- Updating the README.md documentation to describe the new ErrorView option
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| action.yml | New ErrorView input added and mapped to an environment variable. |
| README.md | Documentation updated to include the new ErrorView configuration. |
Files not reviewed (1)
- scripts/init.ps1: Language not supported
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.
🚀 New Feature:
ErrorViewConfigurationThis release introduces a new feature to configure the PowerShell
$ErrorViewvariable in the GitHub Action. This also sets the default toNormalViewwhereas the default in PowerShell isConciseView.NormalViewprovides more information that would be great to get when troubleshooting errors in GitHub workflows. Users can still override this by adding their own settings in the provided script or using the input to set a different value when building actions or workflows.Details
ErrorViewinput inaction.yml, including its description, default value ('NormalView'), and marking it as optional.PSMODULE_GITHUB_SCRIPT_INPUT_ErrorViewin theaction.ymlfile.ErrorViewoption in theREADME.mdfile. This option allows users to configure the$ErrorViewvariable using full or partial names of valid views.