From 76c981669f837e1551e4da8c206cea7484a2087a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 16 Feb 2026 20:36:36 +0000 Subject: [PATCH] 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> --- .github/copilot.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/copilot.yml diff --git a/.github/copilot.yml b/.github/copilot.yml new file mode 100644 index 00000000..a3ea4229 --- /dev/null +++ b/.github/copilot.yml @@ -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