File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " Copilot Setup Steps"
2+
3+ on :
4+ # Allow manual testing through the repository's "Actions" tab
5+ workflow_dispatch : {}
6+ # Automatically run the setup steps when an associated workflow is changed.
7+ push :
8+ paths :
9+ - .github/workflows/copilot-setup-steps.yml
10+ - .github/actions/setup-codeql-environment/action.yml
11+ pull_request :
12+ paths :
13+ - .github/workflows/copilot-setup-steps.yml
14+ - .github/actions/setup-codeql-environment/action.yml
15+
16+ jobs :
17+ # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
18+ copilot-setup-steps :
19+ env :
20+ # Primary model for detailed verification
21+ PRIMARY_MODEL : " openai/gpt-4.1"
22+ # Target models to verify access for - update as new models become available
23+ TARGET_MODELS : " openai/gpt-4.1,openai/o1-preview,openai/o1-mini"
24+ permissions :
25+ contents : read
26+ runs-on : ubuntu-latest
27+
28+ steps :
29+ - name : Copilot Setup - Checkout code
30+ uses : actions/checkout@v4
31+
32+ - name : Copilot Setup - Install CodeQL
33+ uses : ./.github/actions/install-codeql
34+
35+ - name : Copilot Setup - Install CodeQL packs
36+ uses : ./.github/actions/install-codeql-packs
You can’t perform that action at this time.
0 commit comments