summaryrefslogtreecommitdiffstats
path: root/.github
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
parentUpdate usage section for package changes (diff)
downloadlirc-0a31b395c9275f48a42159559c3cab0df169db62.zip
Restrict when CI runs to lirc/ and tests/ file changes
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/python-package-ci.yml13
-rw-r--r--.github/workflows/python-security.yml10
2 files changed, 10 insertions, 13 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
diff --git a/.github/workflows/python-security.yml b/.github/workflows/python-security.yml
deleted file mode 100644
index 884f603..0000000
--- a/.github/workflows/python-security.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-on: [push]
-
-jobs:
- security_checks:
- runs-on: ubuntu-latest
- name: Execute the pycharm-security action
- steps:
- - uses: actions/checkout@v1
- - name: Run PyCharm Security
- uses: tonybaloney/pycharm-security@master