Repository navigation
chore: resolve remaining Codacy findings and restore lost Cloud exclusions - #286
Conversation
Swap 👷♂️ (👷 + U+200D + ♂ + U+FE0F) for plain 👷, which clears Semgrep's detect-invisible-unicode false positives. The Build Module workflow name already used plain 👷, so the workflow_run trigger in Build External Help is unaffected. Refs #285 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move the three paths that were in Codacy Cloud's ignored-files list into .codacy.yaml so the exclusions live in the repository. Refs #285 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add OutputType attributes to Get-FunctionCategory and Get-CategorizedFunction. - Emit Get-ModulesWithUpdate results with an explicit foreach so the analyzer sees PSCustomObject items, matching the existing OutputType. Pipeline output is unchanged. Refs #285 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- copilot-instructions.md: single H1, blank lines around headings and lists, no trailing colons, fenced commit examples. - Wrap prose over 120 characters in CONTRIBUTING, SECURITY, SUPPORT, the PR template, and MKDOCS-NAVIGATION-AUTOMATION. - Issue templates: start body headings at H2. - CHANGELOG: trailing spaces and blank lines around headings and lists. - README.md and docs/index.md: extend the existing inline disables with first-line-heading and line-length. Refs #285 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex review |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 21 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Up to standards ✅🟢 Issues
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Codacy configuration and targeted lint-cleanup changes.
No open issues 🎉
What changed in this PR
This PR follows up on #284 to address the remaining Codacy findings tracked in #285. It restores repository-managed exclusions and makes targeted lint cleanups across PSPreworkout scripts, workflows, and documentation.
Changes:
- Restore three previously configured Codacy Cloud file exclusions.
- Simplify workflow emoji labels and fix Markdown formatting and lint overrides.
- Add PowerShell output-type metadata and explicitly enumerate module-update results without changing intended pipeline output.
| File | Description |
|---|---|
src/PSPreworkout/Public/Get-ModulesWithUpdate.ps1 |
Explicitly enumerate results for output-type analysis. |
README.md |
Disable first-line-heading lint for the existing layout. |
docs/MKDOCS-NAVIGATION-AUTOMATION.md |
Wrap long prose lines. |
docs/index.md |
Disable line-length lint for existing content. |
CHANGELOG.md |
Remove trailing spaces and add required blank lines. |
.github/workflows/Publish Release.yml |
Simplify the build-step emoji. |
.github/workflows/Build Module.yml |
Simplify the test-and-build step emoji. |
.github/workflows/Auto-Assign.yml |
Simplify workflow and step emojis. |
.github/SUPPORT.md |
Wrap long prose lines. |
.github/SECURITY.md |
Wrap vulnerability-response guidance. |
.github/PULL_REQUEST_TEMPLATE.md |
Wrap an instructional comment and checklist text. |
.github/ISSUE_TEMPLATE/feature_request.md |
Change section headings to H2. |
.github/ISSUE_TEMPLATE/bug-report.md |
Change section headings to H2. |
.github/copilot-instructions.md |
Normalize heading hierarchy and fence commit examples. |
.github/CONTRIBUTING.md |
Wrap prose and add spacing before a code block. |
.github/cicd-scripts/Update-MkDocsNavigation.ps1 |
Declare output types for two helper functions. |
.codacy.yaml |
Restore three top-level file exclusions. |
Review effort: Balanced
Closes #285
Summary
Resolves the 55 Codacy Cloud findings left on
mainafter #284, and moves the Cloud file exclusions into the repo.Markdown:
copilot-instructions.mdrestructured (one H1, sections at H2/H3, commit examples fenced). Prose over 120 characters is wrapped in CONTRIBUTING, SECURITY, SUPPORT, the PR template, and the MkDocs automation doc. Issue-template headings start at H2. CHANGELOG has whitespace and blank-line fixes. README anddocs/index.mdget added inline disables for the anchor-first layout and long badge lines.Get-ModulesWithUpdatealready declared[OutputType([PSCustomObject])]. TheList[PSCustomObject]unrolls to PSCustomObjects either way, but PSScriptAnalyzer inferredObject[]from the= @()initializer. The explicitforeachyields the same pipeline output.Evidence
d7276d9: 55 issues (39 markdownlint, 5PSUseOutputTypeCorrectly, 2PSUseShouldProcessForStateChangingFunctionsin the formerly excluded scripts, plus the 5 ignored emoji hits).After (local):
markdownlint-cli2@0.18.1on all 11 changed Markdown files:0 error(s).Invoke-ScriptAnalyzerwithsrc/PSScriptAnalyzerSettings.psd1on both changed scripts: no findings.Get-ModulesWithUpdate.Tests.ps1,Update-MkDocsNavigation.Tests.ps1): 50 passed, 0 failed..github/workflows.Merge Danger
Door: two-way
Plain revert. The workflow display names change, so if any branch-protection rule or external reference matches on a step or workflow name containing 👷♂️, it needs updating. The only in-repo reference (
workflow_run→"👷 Build Module") already used plain 👷.Blast Radius: cosmetic
Workflow and step display names, Markdown formatting, analyzer metadata, and one output statement in
Get-ModulesWithUpdatecovered by its unit tests.🤖 Generated with Claude Code