From fd70d5ebb4fdcff994c30104b86c20eff1051814 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 7 Jul 2025 21:08:43 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/gitleaks/gitleaks: a248f9279b38aeff5bbd4c85cc6f15b64d27e794 → 47218a628da59ef6b24197d15f4b0248ca87f4f0](https://github.com/gitleaks/gitleaks/compare/a248f9279b38aeff5bbd4c85cc6f15b64d27e794...47218a628da59ef6b24197d15f4b0248ca87f4f0) - [github.com/woodruffw/zizmor-pre-commit: d2c1833a059c66713cd52c032617766134679a0f → 69fa534d69454f44ddd4451b5e2da7a1c48e525b](https://github.com/woodruffw/zizmor-pre-commit/compare/d2c1833a059c66713cd52c032617766134679a0f...69fa534d69454f44ddd4451b5e2da7a1c48e525b) - [github.com/astral-sh/ruff-pre-commit: 9aeda5d1f4bbd212c557da1ea78eca9e8c829e19 → 0b19ef1fd6ad680ed7752d6daba883ce1265a6de](https://github.com/astral-sh/ruff-pre-commit/compare/9aeda5d1f4bbd212c557da1ea78eca9e8c829e19...0b19ef1fd6ad680ed7752d6daba883ce1265a6de) - [github.com/wemake-services/wemake-python-styleguide: 6d4ca2bdc16b3098422a2770728136fc0751b817 → 89eca4e53c6a95aebebd9cc86b717fb11a915de9](https://github.com/wemake-services/wemake-python-styleguide/compare/6d4ca2bdc16b3098422a2770728136fc0751b817...89eca4e53c6a95aebebd9cc86b717fb11a915de9) - [github.com/pre-commit/mirrors-mypy.git: 7010b10a09f65cd60a23c207349b539aa36dbec1 → 0f86793af5ef5f6dc63c8d04a3cabfa3ea8f9c6a](https://github.com/pre-commit/mirrors-mypy.git/compare/7010b10a09f65cd60a23c207349b539aa36dbec1...0f86793af5ef5f6dc63c8d04a3cabfa3ea8f9c6a) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 498a147bd..f0c43a200 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,13 +43,13 @@ repos: # Detect hardcoded secrets - repo: https://github.com/gitleaks/gitleaks - rev: a248f9279b38aeff5bbd4c85cc6f15b64d27e794 # frozen: v8.27.0 + rev: 47218a628da59ef6b24197d15f4b0248ca87f4f0 # frozen: v8.27.2 hooks: - id: gitleaks # Github Action static analysis tool - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: d2c1833a059c66713cd52c032617766134679a0f # frozen: v1.9.0 + rev: 69fa534d69454f44ddd4451b5e2da7a1c48e525b # frozen: v1.11.0 hooks: - id: zizmor @@ -105,7 +105,7 @@ repos: # Python - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 9aeda5d1f4bbd212c557da1ea78eca9e8c829e19 # frozen: v0.11.13 + rev: 0b19ef1fd6ad680ed7752d6daba883ce1265a6de # frozen: v0.12.2 hooks: - id: ruff args: @@ -113,12 +113,12 @@ repos: - id: ruff-format - repo: https://github.com/wemake-services/wemake-python-styleguide - rev: 6d4ca2bdc16b3098422a2770728136fc0751b817 # frozen: 1.1.0 + rev: 89eca4e53c6a95aebebd9cc86b717fb11a915de9 # frozen: 1.2.0 hooks: - id: wemake-python-styleguide - repo: https://github.com/pre-commit/mirrors-mypy.git - rev: 7010b10a09f65cd60a23c207349b539aa36dbec1 # frozen: v1.16.0 + rev: 0f86793af5ef5f6dc63c8d04a3cabfa3ea8f9c6a # frozen: v1.16.1 hooks: - id: mypy alias: mypy-py313 From 60ba2848cb8ae2f9036ff245a3342c9b25bdc885 Mon Sep 17 00:00:00 2001 From: MaxymVlasov Date: Thu, 7 Aug 2025 17:46:33 +0300 Subject: [PATCH 2/2] Apply suggested fix --- .github/workflows/build-image-test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-image-test.yaml b/.github/workflows/build-image-test.yaml index 9c6065d49..740d2d1ed 100644 --- a/.github/workflows/build-image-test.yaml +++ b/.github/workflows/build-image-test.yaml @@ -94,11 +94,13 @@ jobs: - name: Run structure tests if: steps.changed-files-specific.outputs.any_changed == 'true' + env: + IMAGE_NAME: ${{ env.IMAGE }} run: >- container-structure-test test --config ${{ github.workspace }}/.github/.container-structure-test-config.yaml - --image ${{ env.IMAGE }} + --image "${IMAGE_NAME}" - name: Dive - check image for waste files if: steps.changed-files-specific.outputs.any_changed == 'true'