Skip to content

Commit

Permalink
CodeQL improvements.
Browse files Browse the repository at this point in the history
Partial mas-cli#645

Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Dec 30, 2024
1 parent fb2f4af commit c76a84f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
#
# .github/workflows/codeql.yml
#
---
name: "CodeQL Advanced"

name: "CodeQL"
on:
push:
branches: ["main", "v*"]
pull_request:
branches: ["main", "v*"]
schedule:
- cron: "44 14 * * 4"

workflow_dispatch:
jobs:
analyze:
name: Analyze ${{matrix.language}}
Expand All @@ -19,6 +17,9 @@ jobs:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none

- language: swift
build-mode: manual
steps:
Expand All @@ -32,7 +33,8 @@ jobs:
build-mode: ${{matrix.build-mode}}
queries: security-and-quality

- if: matrix.build-mode == 'manual'
- name: Build Swift
if: matrix.language == 'swift'
shell: bash
run: |
script/build
Expand Down

0 comments on commit c76a84f

Please sign in to comment.