misc: don't trigger ci on irrelative path

This commit is contained in:
tiann
2022-12-20 17:14:07 +08:00
parent 5053e20778
commit 28ce468e73
2 changed files with 8 additions and 0 deletions

View File

@@ -2,8 +2,12 @@ name: Build Manager
on:
push:
branches: [ "main" ]
paths:
- 'manager/**'
pull_request:
branches: [ "main" ]
paths:
- 'manager/**'
jobs:
build:
runs-on: ubuntu-latest

View File

@@ -2,8 +2,12 @@ name: Build Userspace
on:
push:
branches: [ "main" ]
paths:
- 'userspace/**'
pull_request:
branches: [ "main" ]
paths:
- 'userspace/**'
jobs:
build:
runs-on: ubuntu-latest