File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : MCP Build Check
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+ branches : [main]
7+ paths :
8+ - " modelcontextprotocol/**"
9+ - " .github/workflows/mcp-server-release.yml"
10+ - " .github/workflows/mcp-build.yml"
11+
12+ jobs :
13+ build-mcp-image :
14+ runs-on : ubuntu-latest
15+ timeout-minutes : 20
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+
20+ - name : Set up Docker Buildx
21+ uses : docker/setup-buildx-action@v3
22+
23+ - name : Build MCP image
24+ uses : docker/build-push-action@v5
25+ with :
26+ context : ./modelcontextprotocol/
27+ file : ./modelcontextprotocol/Dockerfile
28+ push : false
29+ load : true
30+ tags : mcp-build-check:latest
Original file line number Diff line number Diff line change 1+ name : MCP Scheduled Security Scan
2+
3+ on :
4+ schedule :
5+ # Every Monday at 09:00 UTC
6+ - cron : ' 0 9 * * 1'
7+ workflow_dispatch : # Allow manual trigger
8+
9+ jobs :
10+ scan :
11+ uses : atlanhq/.github/.github/workflows/reusable-trivy-scan-scheduled.yml@main
12+ with :
13+ image_context : ' ./modelcontextprotocol/'
14+ dockerfile : ' ./modelcontextprotocol/Dockerfile'
15+ image_tag : ' mcp-scheduled-scan:latest'
16+ scan_uv_lock : true
17+ uv_lock_path : ' modelcontextprotocol/uv.lock'
18+ service_name : ' MCP Server'
19+ linear_team_id : ${{ vars.LINEAR_TEAM_ID }}
20+ linear_priority : 2
21+ secrets :
22+ LINEAR_API_KEY : ${{ secrets.LINEAR_API_KEY }}
Original file line number Diff line number Diff line change 1+ name : MCP Trivy Scan
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+ branches : [main]
7+ paths :
8+ - " modelcontextprotocol/**"
9+ - " .github/workflows/mcp-trivy.yml"
10+
11+ permissions :
12+ contents : read
13+ pull-requests : write
14+ actions : read
15+ security-events : write
16+
17+ jobs :
18+ trivy :
19+ uses : atlanhq/.github/.github/workflows/reusable-trivy-scan.yml@main
20+ with :
21+ image_context : ' ./modelcontextprotocol/'
22+ dockerfile : ' ./modelcontextprotocol/Dockerfile'
23+ image_tag : ' mcp-trivy:latest'
24+ scan_uv_lock : true
25+ uv_lock_path : ' modelcontextprotocol/uv.lock'
26+ add_pr_comment : true
27+ comment_title : ' MCP Trivy Scan Results'
Original file line number Diff line number Diff line change 1+ name : Verify Snyk Status
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+ branches : [main]
7+
8+ jobs :
9+ verify-snyk :
10+ uses : atlanhq/.github/.github/workflows/verify-snyk-status.yml@main
11+ secrets : inherit
You can’t perform that action at this time.
0 commit comments