diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8c658ca61616..d901aa384d85 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -14,6 +14,13 @@ name: "CodeQL" on: push: branches: [ "main" ] + paths: + - 'analytical_engine/**' + - 'interactive_engine/**' + - 'learning_engine/**' + - 'coordinator/**' + - 'flex/**' + - 'python/**' # Commented out to save time; reopen after install-deps refactored. # pull_request: # branches: [ "main" ] diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 7bc5e8016503..3106358e40f0 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -4,9 +4,6 @@ on: pull_request_target: branches: - main - pull_request: - branches: - - main jobs: PR-Check: