ci: run python flow only when files under the python/ path are changed

This commit is contained in:
c9s 2022-06-08 15:17:19 +08:00
parent 854661bc71
commit c54fec4c80
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -3,8 +3,13 @@ name: Python
on:
push:
branches: [ main ]
paths:
- python
pull_request:
branches: [ main ]
paths:
- python
jobs:
@ -13,7 +18,7 @@ jobs:
strategy:
matrix:
python-version: [3.8]
python-version: [ 3.8 ]
steps:
- name: Checkout code