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