mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-04 12:45:17 +02:00
feat(workflows): add paths to push and pull_request triggers for backend and frontend workflows
This commit is contained in:
parent
e335d7dba6
commit
00a6e67a5f
3 changed files with 32 additions and 2 deletions
13
.github/workflows/backend-test.yml
vendored
13
.github/workflows/backend-test.yml
vendored
|
@ -4,8 +4,19 @@ permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- development
|
||||||
|
paths:
|
||||||
|
- "backend/**"
|
||||||
|
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- development
|
||||||
|
paths:
|
||||||
|
- "backend/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
13
.github/workflows/frontend-test.yml
vendored
13
.github/workflows/frontend-test.yml
vendored
|
@ -4,8 +4,19 @@ permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- development
|
||||||
|
paths:
|
||||||
|
- "frontend/**"
|
||||||
|
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- development
|
||||||
|
paths:
|
||||||
|
- "frontend/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
8
.github/workflows/trivy_security_scans.yml
vendored
8
.github/workflows/trivy_security_scans.yml
vendored
|
@ -5,10 +5,18 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- development
|
- development
|
||||||
|
paths:
|
||||||
|
- "backend/**"
|
||||||
|
- "frontend/**"
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- development
|
- development
|
||||||
|
paths:
|
||||||
|
- "backend/**"
|
||||||
|
- "frontend/**"
|
||||||
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 8 * * 1" # Weekly scan on Mondays at 8 AM UTC
|
- cron: "0 8 * * 1" # Weekly scan on Mondays at 8 AM UTC
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue