Clean up CI: remove Bandit, expand PSScriptAnalyzer, delete junk file#2
Merged
Conversation
…k file - Remove bandit.yml: Bandit is a Python security linter but this repo contains no Python code. The workflow ran with exit_zero: true anyway, so it never blocked anything — just CI noise. - Expand PSScriptAnalyzer rule set from 2 rules to 8, adding: PSAvoidUsingComputerNameHardcoded, PSUseDeclaredVarsMoreThanAssignments, PSAvoidUsingCmdletAliases, PSUseShouldProcessForStateChangingFunctions, PSAvoidUsingPositionalParameters, PSUseOutputTypeCorrectly. - Fix PSScriptAnalyzer path from '.\\' (Windows) to '.' for the ubuntu-latest runner. - Remove orphaned .github/-.txt (empty artifact from workflow setup). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DDj3zuCAvrsZcQKsPpPHvA
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned Files
|
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.
Summary
bandit.yml: Bandit is a Python security linter. This repo has no Python code, so the workflow was pure CI noise. It also ran withexit_zero: true, meaning it could never block a PR even if it did find something.pathfor Ubuntu runner: changed.\(Windows path separator) to.so the action works correctly onubuntu-latest..github/-.txt: orphaned empty file (likely artifact from workflow setup).Motivation
The CI pipeline was spending runner minutes on a Python linter for a PowerShell repo, while the actual PowerShell linter only checked 2 of ~100+ available rules. This rebalances CI toward checks that actually match the codebase.
Test plan
Generated by Claude Code