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 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