From 00accd076ff03d6a0b76ee2e4ea2b8ae284f0e90 Mon Sep 17 00:00:00 2001 From: ClausHolbechArista <48674677+ClausHolbechArista@users.noreply.github.com> Date: Fri, 21 Jan 2022 09:36:17 +0100 Subject: [PATCH] CI: Add timeout to j2lint (#1446) --- .github/workflows/pull-request-management.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-management.yml b/.github/workflows/pull-request-management.yml index f8453882d28..b0636701139 100644 --- a/.github/workflows/pull-request-management.yml +++ b/.github/workflows/pull-request-management.yml @@ -349,15 +349,18 @@ jobs: with: name: importer-logs path: ./importer_result.json + j2lint: name: Validate j2 files runs-on: ubuntu-20.04 - if: always() steps: - uses: actions/checkout@v2 + timeout-minutes: 2 - name: Setup J2Lint + timeout-minutes: 2 run: | pip install git+https://github.com/aristanetworks/j2lint.git - name: Run J2lint + timeout-minutes: 2 run: | j2lint $GITHUB_WORKSPACE --ignore S7 S6 V1