Skip to content

Commit ae7dc18

Browse files
committed
Run pylint when its workflow or config changes
The pylint workflow only ran when .py files changed, so edits to the workflow itself, .pylintrc, or a function's requirements.txt (such as changing the Python version) weren't linted. It now runs for those paths too.
1 parent 1ac1144 commit ae7dc18

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎.github/workflows/pylint.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ on:
44
push:
55
paths:
66
- '**.py'
7+
- '.github/workflows/pylint.yml'
8+
- '.pylintrc'
9+
- 'functions/**/requirements.txt'
710
pull_request:
811
paths:
912
- '**.py'
13+
- '.github/workflows/pylint.yml'
14+
- '.pylintrc'
15+
- 'functions/**/requirements.txt'
1016

1117
permissions:
1218
contents: read

0 commit comments

Comments
 (0)