workflow path->paths (#915)

* workflow path->paths

* Apply suggestions from code review

Co-authored-by: Li Jiang <bnujli@gmail.com>

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
This commit is contained in:
Chi Wang
2023-02-08 20:47:07 -08:00
committed by GitHub
parent 63d350d4c8
commit 671146146a
2 changed files with 12 additions and 11 deletions

View File

@@ -6,9 +6,10 @@ name: OpenAI
on:
pull_request:
branches: ['main']
path:
- 'flaml/integrations/oai/*'
- 'test/openai/*'
paths:
- 'flaml/integrations/oai/**'
- 'test/openai/**'
- 'notebook/integrate_openai.ipynb'
- '.github/workflows/openai.yml'
jobs:

View File

@@ -6,18 +6,18 @@ name: Build
on:
push:
branches: ['main']
path:
- 'flaml/*'
- 'test/*'
- 'notebook/*'
paths:
- 'flaml/**'
- 'test/**'
- 'notebook/**'
- '.github/workflows/python-package.yml'
- 'setup.py'
pull_request:
branches: ['main']
path:
- 'flaml/*'
- 'test/*'
- 'notebook/*'
paths:
- 'flaml/**'
- 'test/**'
- 'notebook/**'
- '.github/workflows/python-package.yml'
- 'setup.py'