feat(config): add GitHub Copilot network allowlist for external APIs
Add .github/copilot.yml configuration to allow connections to: - api.openai.com (OpenAI API) - oauth2.googleapis.com (Google OAuth) - test.cognitiveservices.azure.com (Azure services) - Additional related domains for full integration test support This fixes firewall blocking issues when running integration tests. Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# GitHub Copilot Workspace Configuration
|
||||
# This file configures GitHub Copilot coding agent settings for the DocuElevate repository
|
||||
|
||||
# Network allowlist for external API services
|
||||
# These domains are required for integration tests and external service connectivity
|
||||
network:
|
||||
allowlist:
|
||||
# OpenAI API - Required for AI-powered metadata extraction and GPT integration
|
||||
- api.openai.com
|
||||
|
||||
# Google OAuth2 - Required for Google Drive integration and OAuth authentication
|
||||
- oauth2.googleapis.com
|
||||
- accounts.google.com
|
||||
- www.googleapis.com
|
||||
|
||||
# Azure Cognitive Services - Required for Azure Document Intelligence and OCR
|
||||
- test.cognitiveservices.azure.com
|
||||
- "*.cognitiveservices.azure.com"
|
||||
|
||||
# Additional Azure endpoints that may be needed
|
||||
- login.microsoftonline.com
|
||||
- graph.microsoft.com
|
||||
|
||||
# AWS S3 - Required for S3 storage integration tests
|
||||
- s3.amazonaws.com
|
||||
- "*.s3.amazonaws.com"
|
||||
|
||||
# Dropbox API - Required for Dropbox storage integration
|
||||
- api.dropboxapi.com
|
||||
- content.dropboxapi.com
|
||||
|
||||
# Package registries (if needed for dependency installation during tests)
|
||||
- pypi.org
|
||||
- files.pythonhosted.org
|
||||
Reference in New Issue
Block a user