👷 ci: setup github actions and dependabot - #36
Open
chriskyfung wants to merge 12 commits into
Open
Conversation
chriskyfung
commented
Aug 7, 2026
Owner
- Add CI workflow for linting and testing
- Configure multi-platform PowerShell matrix
- Implement CodeQL security analysis
- Add dependency review for pull requests
- Setup weekly Dependabot updates
- Add CI workflow for linting and testing - Configure multi-platform PowerShell matrix - Implement CodeQL security analysis - Add dependency review for pull requests - Setup weekly Dependabot updates
- Split lint-and-test into PS 5.1 and PS 7 jobs - Simplify module installation logic - Remove redundant artifact upload steps - Standardize environment setup across jobs
- Add PowerShellExecutable parameter to Build.ps1 - Force specific PS engines in CI workflows - Replace CodeQL with PSScriptAnalyzer SARIF upload - Update Build.ps1 version and documentation
- Skip integration tests in CI to prevent network disruption - Add DesktopOnly tags for PowerShell Core compatibility - Fix variable scoping in theBrain test files - Prevent destructive tests from running on CI runners
- Extract module installation to composite action - Update CI branch trigger to master - Improve error handling in Build.ps1 using throw - Adjust runner and permissions for CI jobs
- Prevent errors when temp directory is missing
- ensure SARIF results are uploaded even if violations are found
- Move $script:SkipAll outside BeforeAll blocks - Ensure Pester Discovery evaluates skips correctly - Fix CI failures for specific theBrain tests - Simplify Mock implementations in theBrain tests
The ampersand character caused issues in CI; replaced with "and" for compatibility.
- Mock data directory path to simulate failure
- Ensure tests use temporary path via Pester v5 mock - Prevent tests from accessing actual brain data dirs
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.