From 0f7d84a2801a1fee493fc1af7213ccf676b85220 Mon Sep 17 00:00:00 2001 From: "Nir.Tal" Date: Mon, 28 Oct 2024 13:41:29 +0200 Subject: [PATCH 1/3] fix: consolidate pre commit --- renovate.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/renovate.json b/renovate.json index bd8b5b4ee..4f9ba20c3 100644 --- a/renovate.json +++ b/renovate.json @@ -3,6 +3,19 @@ "extends": [ "config:recommended" ], + "packageRules": [ + { + "groupName": "all pre-commit updates", + "managers": [ + "pre-commit" + ], + "matchUpdateTypes": [ + "major", + "minor", + "patch" + ] + } + ], "pre-commit": { "enabled": true }, From f73e158f590562c0a70026068b9bbd6acff50be1 Mon Sep 17 00:00:00 2001 From: "Nir.Tal" Date: Mon, 28 Oct 2024 13:50:04 +0200 Subject: [PATCH 2/3] fix: consolidate pre commit --- .github/workflows/devRun.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/devRun.yml b/.github/workflows/devRun.yml index 0c155c59e..f492bd14a 100644 --- a/.github/workflows/devRun.yml +++ b/.github/workflows/devRun.yml @@ -30,7 +30,6 @@ jobs: path: .venv key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install Dependencies - if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' run: poetry install --no-interaction --no-root - name: Install Playwright Browsers run: npx playwright install --with-deps From d96847d967132de29de9b34e1bd5da027697acfb Mon Sep 17 00:00:00 2001 From: "Nir.Tal" Date: Mon, 28 Oct 2024 14:01:45 +0200 Subject: [PATCH 3/3] fix: consolidate pre commit --- .github/workflows/devRun.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/devRun.yml b/.github/workflows/devRun.yml index f492bd14a..749fba90d 100644 --- a/.github/workflows/devRun.yml +++ b/.github/workflows/devRun.yml @@ -23,12 +23,6 @@ jobs: virtualenvs-in-project: true installer-parallel: true virtualenvs-path: .venv - - name: Load cached venv - id: cached-poetry-dependencies - uses: actions/cache@v4 - with: - path: .venv - key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install Dependencies run: poetry install --no-interaction --no-root - name: Install Playwright Browsers @@ -37,6 +31,12 @@ jobs: run: | source .venv/bin/activate xvfb-run pytest -m devRun --base-url ${{ vars.BASE_URL }} + - name: Cache dependencies if tests pass + if: success() + uses: actions/cache/save@v4 + with: + path: .venv + key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Auto-assign reviewers uses: kentaro-m/auto-assign-action@v2.0.0 if: success()