mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Run github workflows only when relevant paths are modified
This commit is contained in:
parent
06499da0c3
commit
0797e9cef8
2 changed files with 22 additions and 0 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -4,9 +4,21 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths:
|
||||||
|
- src/**
|
||||||
|
- config/**
|
||||||
|
- Dockerfile
|
||||||
|
- docker-compose.yml
|
||||||
|
- .github/workflows/build.yml
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths:
|
||||||
|
- src/**
|
||||||
|
- config/**
|
||||||
|
- Dockerfile
|
||||||
|
- docker-compose.yml
|
||||||
|
- .github/workflows/build.yml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
@ -4,9 +4,19 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
|
paths:
|
||||||
|
- src/**
|
||||||
|
- tests/**
|
||||||
|
- config/**
|
||||||
|
- .github/workflows/test.yml
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
|
paths:
|
||||||
|
- src/**
|
||||||
|
- tests/**
|
||||||
|
- config/**
|
||||||
|
- .github/workflows/test.yml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|
Loading…
Add table
Reference in a new issue