Merge pull request #2336 from nagilson/ghcp-workflow #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Copilot Setup Steps | |
# Automatically run the setup steps when they are changed to allow for easy validation, and | |
# allow manual testing through the repository's "Actions" tab | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- .github/workflows/copilot-setup-steps.yml | |
pull_request: | |
paths: | |
- .github/workflows/copilot-setup-steps.yml | |
permissions: | |
contents: read | |
env: | |
# Allow Copilot to access Visual Studio assets URLs needed for NuGet restore | |
COPILOT_AGENT_FIREWALL_ALLOW_LIST_ADDITIONS: "vsblob.vsassets.io" | |
jobs: | |
copilot-setup-steps: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Do an initial build to ensure all dependencies are restored | |
run: | | |
./build.sh |