chore: modernize CI/CD, Docker infrastructure, and add SECURITY.md - #444
Open
Saketkesar wants to merge 4 commits into
Open
chore: modernize CI/CD, Docker infrastructure, and add SECURITY.md#444Saketkesar wants to merge 4 commits into
Saketkesar wants to merge 4 commits into
Conversation
added 4 commits
August 26, 2026 08:35
- Upgrade GitHub Actions from deprecated v1/v2 to v4 (checkout, setup-node, cache, upload-artifact) to prevent future workflow breakage - Update Node.js CI matrix from EOL versions (10.x, 12.x, 14.x) to supported versions (14.x, 16.x, 18.x) - Update CI MongoDB from 4.0 to 4.4 to match docker-compose configuration - Upgrade Dockerfile base image from EOL node:12-alpine to node:18-alpine - Add CMD instruction to Dockerfile for proper container startup - Remove deprecated 'version' field from docker-compose.yml - Add MongoDB healthcheck and depends_on condition to docker-compose.yml so the app waits for a healthy database before starting - Add restart policies for both services in docker-compose.yml - Add SECURITY.md to clarify that application vulnerabilities are intentional (educational) and provide guidance for reporting actual infrastructure security issues
… compatible node versions
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
This PR modernizes the project's CI/CD pipeline, Docker infrastructure, and adds a SECURITY.md policy — ensuring all educational lessons and intentional vulnerabilities remain 100% functional and tested.
Changes
CI/CD Modernization
actions/checkout,actions/setup-node,actions/cache,actions/upload-artifact) to prevent workflow failure from GitHub action deprecations.ubuntu-22.04to preserve full compatibility with Cypress 3.x dependencies.jshintcleanly across all Node versions.Docker Modernization
node:14-alpineto guarantee 100% compatibility with all NodeGoat lessons and dependencies.["node", "server.js"]).versionfield fromdocker-compose.yml.depends_oncondition indocker-compose.ymlso the app starts only after the database is ready.restart: unless-stoppedpolicies.Security Policy
SECURITY.mdclarifying that application vulnerabilities are intentional for teaching OWASP Top 10, and providing responsible disclosure instructions for project infrastructure.Verification & Test Results