Skip to content

Commit 5225fc3

Browse files
Checkpoint from VS Code for coding agent session
1 parent 4381034 commit 5225fc3

File tree

1 file changed

+37
-38
lines changed

1 file changed

+37
-38
lines changed

.github/workflows/codeql.yml

Lines changed: 37 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: "CodeQL Advanced"
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: ["main"]
66
pull_request:
77
branches: [ "main" ]
88
schedule:
@@ -27,45 +27,44 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
include:
30-
- language: python
31-
build-mode: none
32-
- language: swift
33-
build-mode: manual
30+
- language: python
31+
build-mode: none
32+
- language: swift
33+
build-mode: manual
3434
steps:
35-
- name: Checkout repository
36-
uses: actions/checkout@v4
37-
38-
# Initializes the CodeQL tools for scanning.
39-
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@v3
41-
with:
42-
languages: ${{ matrix.language }}
43-
build-mode: ${{ matrix.build-mode }}
44-
# If you wish to specify custom queries, you can do so here or in a config file.
45-
# By default, queries listed here will override any specified in a config file.
46-
# Prefix the list here with "+" to use these queries and those in the config file.
35+
- name: Checkout repository
36+
uses: actions/checkout@v4
4737

48-
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
49-
# queries: security-extended,security-and-quality
38+
# Initializes the CodeQL tools for scanning.
39+
- name: Initialize CodeQL
40+
uses: github/codeql-action/init@v3
41+
with:
42+
languages: ${{ matrix.language }}
43+
build-mode: ${{ matrix.build-mode }}
44+
# If you wish to specify custom queries, you can do so here or in a config file.
45+
# By default, queries listed here will override any specified in a config file.
46+
# Prefix the list here with "+" to use these queries and those in the config file.
5047

51-
- if: matrix.build-mode == 'manual'
52-
uses: ./.github/actions/set-xcode-version
48+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
49+
# queries: security-extended,security-and-quality
5350

54-
- if: matrix.build-mode == 'manual'
55-
shell: bash
56-
run: |
57-
xcodebuild \
58-
-scheme 'Copilot for Xcode' \
59-
-quiet \
60-
-archivePath build/Archives/CopilotForXcode.xcarchive \
61-
-configuration Release \
62-
-skipMacroValidation \
63-
-disableAutomaticPackageResolution \
64-
-workspace 'Copilot for Xcode.xcworkspace' \
65-
archive \
66-
CODE_SIGNING_ALLOWED="NO"
51+
- if: matrix.build-mode == 'manual'
52+
uses: ./.github/actions/set-xcode-version
6753

68-
- name: Perform CodeQL Analysis
69-
uses: github/codeql-action/analyze@v3
70-
with:
71-
category: "/language:${{matrix.language}}"
54+
- if: matrix.build-mode == 'manual'
55+
shell: bash
56+
run: |
57+
xcodebuild \
58+
-scheme 'Copilot for Xcode' \
59+
-quiet \
60+
-archivePath build/Archives/CopilotForXcode.xcarchive \
61+
-configuration Release \
62+
-skipMacroValidation \
63+
-disableAutomaticPackageResolution \
64+
-workspace 'Copilot for Xcode.xcworkspace' \
65+
archive \
66+
CODE_SIGNING_ALLOWED="NO"
67+
+ - name: Perform CodeQL Analysis
68+
uses: github/codeql-action/analyze@v3
69+
with:
70+
category: "/language:${{matrix.language}}"

0 commit comments

Comments
 (0)