Skip to content

Commit 9c7b56d

Browse files
Copilotbaronfel
andauthored
Add Copilot setup workflow for vsassets.io firewall allowlist (#49470)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: baronfel <573979+baronfel@users.noreply.github.com>
1 parent 2164102 commit 9c7b56d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/copilot-setup.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Copilot Setup Steps
2+
3+
# This workflow configures the environment for GitHub Copilot
4+
# to allow access to necessary URLs for .NET SDK operations
5+
on:
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
env:
12+
# Allow Copilot to access Visual Studio assets URLs needed for NuGet restore
13+
COPILOT_AGENT_FIREWALL_ALLOW_LIST_ADDITIONS: "vsblob.vsassets.io"
14+
15+
jobs:
16+
setup:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Configure environment for Copilot
20+
run: |
21+
echo "Copilot firewall allowlist configured for: $COPILOT_AGENT_FIREWALL_ALLOW_LIST_ADDITIONS"
22+
echo "This allows access to Visual Studio assets URLs needed for NuGet package restore operations."

0 commit comments

Comments
 (0)