-
Notifications
You must be signed in to change notification settings - Fork 0
🚀 [Feature]: Add settings control of repository linter #218
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
…mic environment variables; remove obsolete PSModule configuration files.
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 pull request centralizes linter configuration management by moving environment variables from the workflow file to a YAML manifest and introducing dynamic loading capabilities. The change enables more flexible control of repository linter settings through configuration files rather than hard-coded workflow values.
Key changes:
- Added dynamic environment variable loading from YAML manifest using PowerShell
- Centralized linter configuration in PSModule.yml manifest file
- Removed legacy configuration files (PSModule.json and PSModule.psd1)
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/workflow.yml | Added PowerShell as default shell and dynamic environment loading step for linter configuration |
| tests/srcWithManifestTestRepo/.github/PSModule.yml | Added Linter.env section with environment variables for linter control |
| tests/srcWithManifestTestRepo/.github/PSModule.psd1 | Removed legacy PowerShell configuration file |
| tests/srcWithManifestTestRepo/.github/PSModule.json | Removed legacy JSON configuration file |
…set environment variables; update documentation accordingly.
…move skip option for Linter in PSModule configuration.
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 6 out of 6 changed files in this pull request and generated 1 comment.
…Module configuration
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 6 out of 6 changed files in this pull request and generated 1 comment.
…o boolean in PSModule configuration
…nvironment variable processing
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 6 out of 6 changed files in this pull request and generated 2 comments.
…yle descriptions and labels based on change types
…tion instead - Update /specify, /plan, /tasks, and /implement prompts to detect fork mode via git remote -v - Remove all references to .fork-info.json configuration file - Simplify fork contribution workflow with automatic detection - Add comprehensive linter configuration documentation to README
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 no new comments.
- Add instruction to check ALL changes in the branch using git diff - Ensure Docs label is only applied when ALL changes are documentation - Clarify that mixed changes should be classified by code changes, not docs - Use git diff origin/main...HEAD to analyze complete branch changes
…ation steps in prompt documentation
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.
…arsing and output formatting
…ys for improved processing
…proved linter configuration
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.
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 11 out of 11 changed files in this pull request and generated 1 comment.
…larity and consistency
- Updated /pr prompt to use consistent ordered list structure - PR descriptions now follow: 1) summary paragraph, 2) issue links, 3) detailed sections - Added clear guidance for release note formatting - Included example structure to illustrate proper format Fixes #218
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 1 comment.
…arity and security
…nd improve settings loading in 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 12 out of 12 changed files in this pull request and generated 2 comments.
…n execution steps
… GitHub token directly
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 12 out of 12 changed files in this pull request and generated 1 comment.
The workflow now provides fine-grained control over repository linting behavior through simple configuration options. You can disable the linter entirely or customize which validations run by configuring super-linter environment variables directly in your settings file, giving you full control over code quality checks without modifying workflow files.
Linter Configuration
Added two new settings to control repository linting behavior:
Linter.Skip: Completely disable repository linting when set totrueLinter.env: Configure super-linter environment variables to customize which validations runWhat you need to do: Add these settings to your
.github/PSModule.ymlfile as needed.Disable the linter completely
Customize specific validations
Advanced configuration
See the super-linter environment variables documentation for all available options.