diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-07-26 18:21:08 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-07-26 18:21:08 -0500 |
| commit | 0a31b395c9275f48a42159559c3cab0df169db62 (patch) | |
| tree | c2ce9e17c9c3b035d9c5eaa63738f986eb6df7bb /.github/workflows | |
| parent | Update usage section for package changes (diff) | |
| download | lirc-0a31b395c9275f48a42159559c3cab0df169db62.zip | |
Restrict when CI runs to lirc/ and tests/ file changes
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/python-package-ci.yml | 13 | ||||
| -rw-r--r-- | .github/workflows/python-security.yml | 10 |
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 |