Restore path restriction

This avoids running workflows when it's not needed
This commit is contained in:
Jean-Michel Picod
2020-02-25 10:07:03 +01:00
parent 6c96c639ca
commit a13f9cf8bc
2 changed files with 12 additions and 12 deletions

View File

@@ -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