Add foundational GitHub Actions workflows for CI, CodeQL analysis, and dependency review#13
Merged
csecrestjr merged 1 commit intoAug 16, 2025
Conversation
csecrestjr
marked this pull request as ready for review
August 16, 2025 16:18
Copilot
AI
changed the title
[WIP] Add CI, CodeQL, and Dependency Review GitHub Actions for branch protection checks
Add foundational GitHub Actions workflows for CI, CodeQL analysis, and dependency review
Aug 16, 2025
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.
This PR adds three foundational GitHub Actions workflows to enable Branch Protection with required status checks for the
mainbranch. These workflows provide essential CI infrastructure while being designed to work safely even with minimal project setup.Workflows Added
1. CI Workflow (
.github/workflows/ci.yml)package.jsonexistence and skips CI steps if not found--if-presentflagscontents: readCI / build-and-test (Node 20)CI / build-and-test (Node 22)2. CodeQL Static Analysis (
.github/workflows/codeql.yml)CodeQL / Analyze (JavaScript)3. Dependency Review (
.github/workflows/dependency-review.yml)Dependency Review / dependency-reviewDesign Features
All workflows are crafted to:
package.jsonexists at the root level (CI steps are skipped safely)Next Steps
After merging this PR:
mainbranch:Note: If GitHub Advanced Security is not enabled for this private repository, the CodeQL workflow may not run. In that case, omit
CodeQL / Analyze (JavaScript)from required checks until GHAS is enabled.This establishes a solid foundation for enforcing code quality and security standards while maintaining development velocity.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.