Enhance output handling in main action: add detailed parsed outputs#128
Merged
Enhance output handling in main action: add detailed parsed outputs#128
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the parser action's output capabilities by adding individual parsed outputs for each issue form field, making it easier for workflows to access specific field values directly. The update improves usability by providing both the existing JSON output and new granular outputs with a parsed_ prefix.
- Add dynamic output generation for each parsed field with
parsed_<key>naming convention - Update documentation with examples showing the new individual outputs
- Add comprehensive test coverage for the new output behavior
Reviewed Changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/main.ts | Implements the new dynamic output generation logic for individual parsed fields |
| package.json | Version bump to 4.2.0 to reflect the new feature |
| tests/main.test.ts | Adds test coverage for the new individual output functionality |
| README.md | Updates documentation with examples of the new parsed outputs and improves formatting |
| .markdown-lint.yml | Simplifies markdown linting configuration by disabling MD013 entirely |
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.

This pull request updates the parser to provide additional outputs for each parsed issue form field, making it easier to access individual values in workflows. The documentation is updated to explain the new outputs, and tests are added to verify the behavior. The version is bumped to
4.2.0.