diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index da462872e..ee972b41a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -14,9 +14,21 @@ name: "CodeQL" on: push: branches: [ main ] + paths: + - frontend/** + - queue/** + - server/** + - shared/** + - packages/** pull_request: # The branches below must be a subset of the branches above branches: [ main ] + paths: + - frontend/** + - queue/** + - server/** + - shared/** + - packages/** schedule: - cron: '21 21 * * 4' diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index a132d71b3..6a254717b 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -1,6 +1,13 @@ name: Node.js CI -on: [push] +on: + push: + paths: + - frontend/** + - queue/** + - server/** + - shared/** + - packages/** jobs: build: diff --git a/.github/workflows/review-app.yml b/.github/workflows/review-app.yml index f0accf4ae..df542f5fd 100644 --- a/.github/workflows/review-app.yml +++ b/.github/workflows/review-app.yml @@ -6,7 +6,18 @@ on: pull_request_target: types: [opened, closed, synchronize, reopened] branches: [main] - + paths: + - frontend/** + - queue/** + - server/** + - shared/** + - packages/** + paths: + - frontend/** + - queue/** + - server/** + - shared/** + - packages/** env: CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }} CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}