diff --git a/.github/workflows/backend-test.yml b/.github/workflows/backend-test.yml index a01cd48..6c81bc1 100644 --- a/.github/workflows/backend-test.yml +++ b/.github/workflows/backend-test.yml @@ -4,8 +4,19 @@ permissions: contents: read on: - pull_request: push: + branches: + - main + - development + paths: + - "backend/**" + + pull_request: + branches: + - main + - development + paths: + - "backend/**" jobs: build: diff --git a/.github/workflows/frontend-test.yml b/.github/workflows/frontend-test.yml index 8a95cd8..1d53a48 100644 --- a/.github/workflows/frontend-test.yml +++ b/.github/workflows/frontend-test.yml @@ -4,8 +4,19 @@ permissions: contents: read on: - pull_request: push: + branches: + - main + - development + paths: + - "frontend/**" + + pull_request: + branches: + - main + - development + paths: + - "frontend/**" jobs: build: diff --git a/.github/workflows/trivy_security_scans.yml b/.github/workflows/trivy_security_scans.yml index a067ae6..8d4e7ff 100644 --- a/.github/workflows/trivy_security_scans.yml +++ b/.github/workflows/trivy_security_scans.yml @@ -5,10 +5,18 @@ on: branches: - main - development + paths: + - "backend/**" + - "frontend/**" + pull_request: branches: - main - development + paths: + - "backend/**" + - "frontend/**" + schedule: - cron: "0 8 * * 1" # Weekly scan on Mondays at 8 AM UTC