Restore path restriction
This avoids running workflows when it's not needed
This commit is contained in:
12
.github/workflows/pylint.yml
vendored
12
.github/workflows/pylint.yml
vendored
@@ -1,10 +1,10 @@
|
||||
name: pylint
|
||||
on: [push]
|
||||
# push:
|
||||
# paths:
|
||||
# - '**/*.py'
|
||||
# - '.pylintrc'
|
||||
# - '!third_party/**'
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '**/*.py'
|
||||
- '.pylintrc'
|
||||
- '!third_party/**'
|
||||
jobs:
|
||||
pylint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user