diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fdd86a3c..282d32df 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -10,6 +10,9 @@ on: - "CMakePresets.json" - "vcpkg*" - ".github/workflows/codeql.yml" + branches: + - main + - dev pull_request: paths: - "src/**" diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index 80df8803..c8a37b57 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -8,6 +8,10 @@ on: paths: - "src/**" - ".github/workflows/format-check.yml" + branches: + - main + - dev + jobs: format-check: name: Format Check