Skip to content

Commit d1954f3

Browse files
authored
fix copilot configuration (#49497)
1 parent d0c6a17 commit d1954f3

File tree

2 files changed

+29
-22
lines changed

2 files changed

+29
-22
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Copilot Setup Steps
2+
3+
# Automatically run the setup steps when they are changed to allow for easy validation, and
4+
# allow manual testing through the repository's "Actions" tab
5+
on:
6+
workflow_dispatch:
7+
push:
8+
paths:
9+
- .github/workflows/copilot-setup-steps.yml
10+
pull_request:
11+
paths:
12+
- .github/workflows/copilot-setup-steps.yml
13+
14+
permissions:
15+
contents: read
16+
17+
env:
18+
# Allow Copilot to access Visual Studio assets URLs needed for NuGet restore
19+
COPILOT_AGENT_FIREWALL_ALLOW_LIST_ADDITIONS: "vsblob.vsassets.io"
20+
21+
jobs:
22+
23+
copilot-setup-steps:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+
- name: Do an initial build to ensure all dependencies are restored
28+
run: |
29+
./build.sh

.github/workflows/copilot-setup.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)