From 1f4528571e42b16f07344778d885df7174a50d7c Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 1 Apr 2026 12:58:36 +0100 Subject: [PATCH] fix: stop if unsigned commits are detected --- .github/workflows/tox.yml | 8 ++++++++ pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 83cb88d..b7b85e1 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -100,6 +100,14 @@ jobs: outputs: matrix: ${{ steps.generate_matrix.outputs.matrix }} steps: + - name: Check signed commits in PR + uses: 1Password/check-signed-commits-action@v1 + with: + comment: > + All commits must have verified signatures. + + Please see [this Ansible Forum post](https://forum.ansible.com/t/important-github-com-ansible-now-requires-signed-commits/) for more information. + - name: Determine matrix id: generate_matrix uses: ansible/actions/matrix@main diff --git a/pyproject.toml b/pyproject.toml index d6e8073..cfb52d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,7 +66,7 @@ source = ["src", "test", ".tox/*/site-packages"] [tool.coverage.report] exclude_also = ["if TYPE_CHECKING:", "pragma: no cover"] -fail_under = 44 +fail_under = 43 ignore_errors = false omit = ["test/*"] show_missing = true