Skip to content

Commit 56a4f44

Browse files
Add copilot setup workflow.
1 parent 7bf527f commit 56a4f44

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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

0 commit comments

Comments
 (0)