summaryrefslogtreecommitdiffstats
path: root/.github/workflows/python-package-ci.yml
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-07-26 18:21:08 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2020-07-26 18:21:08 -0500
commit0a31b395c9275f48a42159559c3cab0df169db62 (patch)
treec2ce9e17c9c3b035d9c5eaa63738f986eb6df7bb /.github/workflows/python-package-ci.yml
parentUpdate usage section for package changes (diff)
downloadlirc-0a31b395c9275f48a42159559c3cab0df169db62.zip
Restrict when CI runs to lirc/ and tests/ file changes
Diffstat (limited to '.github/workflows/python-package-ci.yml')
-rw-r--r--.github/workflows/python-package-ci.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/python-package-ci.yml b/.github/workflows/python-package-ci.yml
index 00f374d..92cf718 100644
--- a/.github/workflows/python-package-ci.yml
+++ b/.github/workflows/python-package-ci.yml
@@ -2,9 +2,13 @@ name: python package ci
on:
push:
- branches: [ master, dev, test-ci ]
+ paths:
+ - "lirc/**"
+ - "tests/**"
pull_request:
- branches: [ master, dev, test-ci ]
+ paths:
+ - "lirc/**"
+ - "tests/**"
jobs:
build:
@@ -43,4 +47,7 @@ jobs:
- name: Build Package
run: |
- poetry build \ No newline at end of file
+ poetry build
+
+ - name: Security Checks
+ uses: tonybaloney/pycharm-security@master \ No newline at end of file