From a0faec4d4f64cc6d292f8a22016b8c1985443048 Mon Sep 17 00:00:00 2001 From: AnsibleGuy Date: Tue, 28 Nov 2023 11:31:36 +0100 Subject: [PATCH] updated workflow config --- .github/workflows/{autolint.yml => lint.yml} | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) rename .github/workflows/{autolint.yml => lint.yml} (70%) diff --git a/.github/workflows/autolint.yml b/.github/workflows/lint.yml similarity index 70% rename from .github/workflows/autolint.yml rename to .github/workflows/lint.yml index 2ec4a9b..4a7fa69 100644 --- a/.github/workflows/autolint.yml +++ b/.github/workflows/lint.yml @@ -1,20 +1,27 @@ --- -name: AutoLint +name: Lint on: push: branches: [latest] + paths: + - '**.py' + - '**.yml' + - '.github/workflows/test.yml' + - 'requirements_lint.txt' pull_request: branches: [latest] + paths: + - '**.py' + - '**.yml' + - '.github/workflows/test.yml' + - 'requirements_lint.txt' jobs: build: - strategy: - matrix: - python-version: [3.10] runs-on: ubuntu-latest - + timeout-minutes: 2 steps: - name: Checkout uses: actions/checkout@v3