-
Notifications
You must be signed in to change notification settings - Fork 0
🚀[Feature]: Linting and Documentation Improvements with Conditional Summary Option #226
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
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
Adds a workflow step intended to clear the GitHub Actions super-linter step summary after a successful run so later steps start with a clean summary.
- Adds a new step named "Clear super-linter summary"
- Uses Set-Content to truncate the $GITHUB_STEP_SUMMARY file
- Includes an explicit if: success() condition
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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 1 out of 1 changed files in this pull request and generated 1 comment.
- Deleted `create-new-feature.ps1`, `setup-plan.ps1`, and `update-agent-context.ps1` scripts as they are no longer needed. - Removed associated templates: `agent-file-template.md`, `constitution-template.md`, `plan-template.md`, `spec-template.md`, and `tasks-template.md`. - This cleanup helps streamline the project by eliminating unused code and templates.
…AfterAll scripts for better logging
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 27 out of 27 changed files in this pull request and generated 7 comments.
Comments suppressed due to low confidence (1)
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 27 out of 27 changed files in this pull request and generated 2 comments.
…File for better compatibility
…failure and failing the job if issues are found
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 27 out of 27 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (2)
tests/srcTestRepo/tests/BeforeAll.ps1:1
- [nitpick] These messages describe normal informational progress, but Write-Warning elevates them to warnings which can create noise or imply problems in CI logs. Use Write-Host (for purely cosmetic output) or preferably Write-Verbose/Write-Information with CmdletBinding and -Verbose support to distinguish normal progress from actual warnings.
Write-Warning "=== BEFOREALL SETUP SCRIPT EXECUTING ==="
…ve error reporting
…treamline workflow
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 28 out of 28 changed files in this pull request and generated 9 comments.
…step to ensure compatibility
…n planning - Created `create-new-feature.ps1` to automate feature branch creation and spec file generation. - Added `setup-plan.ps1` for setting up implementation plans based on feature specifications. - Introduced `update-agent-context.ps1` to update agent context files with plan data. - Developed templates for agent files, constitutions, implementation plans, and feature specifications. - Implemented task generation template to streamline task planning for feature execution.
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 8 out of 8 changed files in this pull request and generated 5 comments.
…n planning - Created `create-new-feature.ps1` to automate the creation of new feature branches and directories. - Added `setup-plan.ps1` for setting up implementation plans for features. - Introduced `update-agent-context.ps1` to update agent context files based on plan data. - Added templates for agent files, constitutions, implementation plans, feature specifications, and tasks. - Implemented structured templates to standardize feature documentation and task generation processes.
…rce stricter 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
Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.
tests/srcWithManifestTestRepo/src/functions/public/Test-PSModuleTest.ps1
Outdated
Show resolved
Hide resolved
… Test-PSModuleTest function description to remove extraneous text
…orkspace management
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 10 out of 10 changed files in this pull request and generated 1 comment.
…better compatibility
…ibility; adjust super-linter environment variable to use FILTER_REGEX_EXCLUDE
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 10 out of 10 changed files in this pull request and generated no new comments.
… for improved path handling
43685f7 to
97bc571
Compare
… path filtering; add duplicate header in README.md
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 11 out of 11 changed files in this pull request and generated 2 comments.
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 10 out of 10 changed files in this pull request and generated 1 comment.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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 10 out of 10 changed files in this pull request and generated no new comments.
This pull request introduces improvements to the linting workflows and documentation, adds new configuration options for linter summary reporting, and updates test scripts for better visibility. The main focus is on allowing users to optionally display the super-linter summary even when no issues are found, and on clarifying documentation and prompts related to repository operations.
Workflow and Linter Enhancements:
ShowSummaryOnSuccessoption for both documentation and codebase linting workflows, allowing the super-linter summary to be displayed even on successful runs. Updated the workflows to post the summary conditionally based on this setting. (.github/workflows/Build-Docs.yml,.github/workflows/workflow.yml, [1] [2] [3] [4] [5]ShowSummaryOnSuccessoption for bothBuild.DocsandLinterconfigurations. (.github/workflows/Get-Settings.yml, [1] [2]Documentation Updates:
README.mdto document the newShowSummaryOnSuccessoptions for both documentation and linter workflows, including example configuration and explanation of its usage. (README.md, [1] [2] [3] [4] [5].github/copilot-instructions.mdfor process-related Copilot instructions.Prompt and Command Improvements:
.github/prompts/pr.prompt.mdto specify changing directory to the root of the attached git folder, and updated references to GitHub MCP tool commands to use simplified names. [1] [2]Test Script Output Improvements:
BeforeAll.ps1,AfterAll.ps1) in both test repositories to useWrite-Warninginstead ofWrite-Hostfor better visibility of important messages. (tests/srcTestRepo/tests/BeforeAll.ps1, [1] [2];tests/srcTestRepo/tests/AfterAll.ps1, [3] [4];tests/srcWithManifestTestRepo/tests/BeforeAll.ps1, [5];tests/srcWithManifestTestRepo/tests/AfterAll.ps1, [6]