From 234d3f9cf3878a67d98989b961cd664b46446646 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:09:26 +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/ansible-network/collection_prep: 1.1.1 → 1.1.2](https://github.com/ansible-network/collection_prep/compare/1.1.1...1.1.2) - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v6.0.0) - [github.com/PyCQA/isort: 5.13.2 → 7.0.0](https://github.com/PyCQA/isort/compare/5.13.2...7.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.8.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/24.8.0...26.1.0) --- .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 f605bbc..43ec14e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,12 +1,12 @@ --- repos: - repo: https://github.com/ansible-network/collection_prep - rev: 1.1.1 + rev: 1.1.2 hooks: - id: autoversion - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: check-merge-conflict - id: debug-statements @@ -23,12 +23,12 @@ repos: - prettier-plugin-toml - repo: https://github.com/PyCQA/isort - rev: 5.13.2 + rev: 7.0.0 hooks: - id: isort args: ["--filter-files"] - - repo: https://github.com/psf/black - rev: 24.8.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black From aca306cde0be3e222f6acc3efe740403f9565dc7 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Tue, 27 Jan 2026 07:30:05 +0100 Subject: [PATCH 2/2] Prevent integration tests run on pre-commit Signed-off-by: Michal Nasiadka --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 143bd64..ffa9394 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -36,7 +36,10 @@ jobs: git+https://github.com/ansible-collections/ansible.netcommon.git matrix_exclude: ${{ vars.MATRIX_EXCLUDE }} all_green: - if: ${{ always() && (github.event_name != 'schedule') }} + if: >- + always() && + github.actor != 'pre-commit-ci[bot]' && + github.event_name != 'schedule' needs: - ansible-lint - changelog