Skip to content

Conversation

@MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Oct 7, 2025

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:

  • Added ShowSummaryOnSuccess option 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]
  • Extended the settings parsing logic to support the new ShowSummaryOnSuccess option for both Build.Docs and Linter configurations. (.github/workflows/Get-Settings.yml, [1] [2]

Documentation Updates:

  • Updated README.md to document the new ShowSummaryOnSuccess options for both documentation and linter workflows, including example configuration and explanation of its usage. (README.md, [1] [2] [3] [4] [5]
  • Added a new section to .github/copilot-instructions.md for process-related Copilot instructions.

Prompt and Command Improvements:

  • Clarified execution steps in .github/prompts/pr.prompt.md to 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:

  • Changed test setup and teardown scripts (BeforeAll.ps1, AfterAll.ps1) in both test repositories to use Write-Warning instead of Write-Host for 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]

Copilot AI review requested due to automatic review settings October 7, 2025 15:36
@MariusStorhaug MariusStorhaug requested a review from a team as a code owner October 7, 2025 15:36
Copy link
Contributor

Copilot AI left a 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>
Copilot AI review requested due to automatic review settings October 7, 2025 15:37
Copy link
Contributor

Copilot AI left a 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.
Copilot AI review requested due to automatic review settings October 7, 2025 16:12
Copy link
Contributor

Copilot AI left a 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)

Copilot AI review requested due to automatic review settings October 7, 2025 16:25
Copy link
Contributor

Copilot AI left a 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.

Copilot AI review requested due to automatic review settings October 7, 2025 16:46
Copy link
Contributor

Copilot AI left a 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 ==="

Copilot AI review requested due to automatic review settings October 7, 2025 16:53
Copy link
Contributor

Copilot AI left a 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.

…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.
Copilot AI review requested due to automatic review settings October 7, 2025 18:40
Copy link
Contributor

Copilot AI left a 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.
Copilot AI review requested due to automatic review settings October 8, 2025 18:16
Copilot AI review requested due to automatic review settings October 8, 2025 18:33
Copy link
Contributor

Copilot AI left a 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.

Copilot AI review requested due to automatic review settings October 8, 2025 19:03
Copy link
Contributor

Copilot AI left a 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.

…ibility; adjust super-linter environment variable to use FILTER_REGEX_EXCLUDE
Copilot AI review requested due to automatic review settings October 8, 2025 19:16
Copy link
Contributor

Copilot AI left a 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.

… path filtering; add duplicate header in README.md
Copilot AI review requested due to automatic review settings October 8, 2025 19:31
Copy link
Contributor

Copilot AI left a 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.

Copilot AI review requested due to automatic review settings October 8, 2025 19:51
Copy link
Contributor

Copilot AI left a 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>
Copilot AI review requested due to automatic review settings October 8, 2025 19:57
Copy link
Contributor

Copilot AI left a 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.

@MariusStorhaug MariusStorhaug self-assigned this Oct 8, 2025
@MariusStorhaug MariusStorhaug changed the title 🩹 [Patch]: Clear super-linter summary after successful runs 🩹 [Patch]: Linting and Documentation Improvements with Conditional Summary Option Oct 8, 2025
@MariusStorhaug MariusStorhaug changed the title 🩹 [Patch]: Linting and Documentation Improvements with Conditional Summary Option 🚀[Feature]: Linting and Documentation Improvements with Conditional Summary Option Oct 8, 2025
@MariusStorhaug MariusStorhaug merged commit ea29e6b into main Oct 8, 2025
66 of 68 checks passed
@MariusStorhaug MariusStorhaug deleted the clearSummary branch October 8, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants