-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 949 Bytes
/
copilot-setup-steps.yml
File metadata and controls
33 lines (30 loc) · 949 Bytes
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
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:
branches:
- main
paths:
- .github/workflows/copilot-setup-steps.yml
- .github/actions/setup-codeql-environment/action.yml
- qlt.conf.json
pull_request:
branches:
- main
paths:
- .github/workflows/copilot-setup-steps.yml
- .github/actions/setup-codeql-environment/action.yml
- qlt.conf.json
jobs:
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
copilot-setup-steps:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Copilot Setup - Checkout code
uses: actions/checkout@v6
- name: Copilot Setup - Setup CodeQL environment
uses: ./.github/actions/setup-codeql-environment