Do less work on Github Actions

We don't need it running CodeQL on every push to every branch
This commit is contained in:
Jasmine Iwanek
2025-06-28 19:46:13 -04:00
parent 3a26b9d46b
commit cb5cb7e660
3 changed files with 15 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ name: CodeQL Analysis (Linux)
on:
push:
branches: [ "master" ]
paths:
- src/**
- cmake/**
@@ -13,6 +14,7 @@ on:
- "!**/Makefile*"
pull_request:
branches: [ "master" ]
paths:
- src/**
- cmake/**
@@ -23,6 +25,9 @@ on:
- vcpkg.json
- "!**/Makefile*"
schedule:
- cron: '22 11 * * 0'
jobs:
analyze-linux:

View File

@@ -3,6 +3,7 @@ name: CodeQL Analysis (macos)
on:
push:
branches: [ "master" ]
paths:
- src/**
- cmake/**
@@ -13,6 +14,7 @@ on:
- "!**/Makefile*"
pull_request:
branches: [ "master" ]
paths:
- src/**
- cmake/**
@@ -23,6 +25,9 @@ on:
- vcpkg.json
- "!**/Makefile*"
schedule:
- cron: '22 11 * * 0'
jobs:
analyze-macos13-x86_64:

View File

@@ -3,6 +3,7 @@ name: CodeQL Analysis (Windows, msys2)
on:
push:
branches: [ "master" ]
paths:
- src/**
- cmake/**
@@ -13,6 +14,7 @@ on:
- "!**/Makefile*"
pull_request:
branches: [ "master" ]
paths:
- src/**
- cmake/**
@@ -23,6 +25,9 @@ on:
- vcpkg.json
- "!**/Makefile*"
schedule:
- cron: '22 11 * * 0'
jobs:
analyze-msys2: