From 1600e02d61954ca03859da914886aa51a4b0c783 Mon Sep 17 00:00:00 2001 From: Cameron Showalter Date: Tue, 30 Jul 2024 17:31:58 -0800 Subject: [PATCH] Adding paths that should trigger this file to run --- .github/workflows/pylint.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 3cd1c75..5a0f457 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,8 +1,20 @@ name: Pylint on: - push: {} - pull_request: {} + push: + paths: + # Changes to any python file: + - '**.py' + # Or Actions this workflow depends on (including itself): + - '.pylintrc' + - '.github/workflows/pylint.yml' + - '.github/workflows/composite-setup-python/action.yaml' + pull_request: + paths: + - '**.py' + - '.pylintrc' + - '.github/workflows/pylint.yml' + - '.github/workflows/composite-setup-python/action.yaml' jobs: python-lint: