-
Notifications
You must be signed in to change notification settings - Fork 0
80 lines (67 loc) · 2.5 KB
/
copilot-setup-steps.yaml
File metadata and controls
80 lines (67 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: "Copilot Setup Steps"
on:
# Allow manual testing through the repository's "Actions" tab
workflow_dispatch: {}
# Automatically run the setup steps when an associated workflow is changed.
push:
paths:
- .github/workflows/copilot-setup-steps.yaml
- .github/actions/install-codeql/action.yaml
- .github/actions/install-codeql-packs/action.yaml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yaml
- .github/actions/install-codeql/action.yaml
- .github/actions/install-codeql-packs/action.yaml
jobs:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
copilot-setup-steps:
env:
# Primary model for detailed verification
PRIMARY_MODEL: "openai/gpt-4.1"
# Target models to verify access for - update as new models become available
TARGET_MODELS: "openai/gpt-4.1,openai/o1-preview,openai/o1-mini"
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Copilot Setup - Checkout code
uses: actions/checkout@v4
- name: Copilot Setup - Install CodeQL
uses: ./.github/actions/install-codeql
- name: Copilot Setup - Install CodeQL packs (common)
uses: ./.github/actions/install-codeql-packs
with:
language: common
- name: Copilot Setup - Install CodeQL packs (cpp)
uses: ./.github/actions/install-codeql-packs
with:
language: cpp
- name: Copilot Setup - Install CodeQL packs (csharp)
uses: ./.github/actions/install-codeql-packs
with:
language: csharp
- name: Copilot Setup - Install CodeQL packs (go)
uses: ./.github/actions/install-codeql-packs
with:
language: go
- name: Copilot Setup - Install CodeQL packs (java)
uses: ./.github/actions/install-codeql-packs
with:
language: java
- name: Copilot Setup - Install CodeQL packs (javascript)
uses: ./.github/actions/install-codeql-packs
with:
language: javascript
- name: Copilot Setup - Install CodeQL packs (python)
uses: ./.github/actions/install-codeql-packs
with:
language: python
- name: Copilot Setup - Install CodeQL packs (ruby)
uses: ./.github/actions/install-codeql-packs
with:
language: ruby
- name: Copilot Setup - Install CodeQL packs (swift)
uses: ./.github/actions/install-codeql-packs
with:
language: swift