From 2d37d7424a1eecb3df41f2c8c1313d5090c1a585 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 20 Aug 2026 09:38:49 +0100 Subject: [PATCH] Exclude Copilot from CLA checks (#883) --- actions/__init__.py | 2 +- actions/cla.py | 2 +- tests/test_cla.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/actions/__init__.py b/actions/__init__.py index 4817610..fefdbcb 100644 --- a/actions/__init__.py +++ b/actions/__init__.py @@ -28,4 +28,4 @@ # ├── test_summarize_pr.py # └── ... -__version__ = "0.3.13" +__version__ = "0.3.14" diff --git a/actions/cla.py b/actions/cla.py index d67be66..fde075a 100644 --- a/actions/cla.py +++ b/actions/cla.py @@ -25,7 +25,7 @@ SIGN_COMMENT = "I have read the CLA Document and I sign the CLA" COMMENT_MARKER = "" LEGACY_MARKER = "CLA Assistant Lite bot" BOT_LOGIN = "github-actions[bot]" -ALLOWLIST = frozenset(("dependabot[bot]", "github-actions[bot]", "pre-commit-ci[bot]")) +ALLOWLIST = frozenset(("copilot", "dependabot[bot]", "github-actions[bot]", "pre-commit-ci[bot]")) TRANSIENT_STATUS = (429, 500, 502, 503, 504) diff --git a/tests/test_cla.py b/tests/test_cla.py index 3a6b2dd..8789722 100644 --- a/tests/test_cla.py +++ b/tests/test_cla.py @@ -69,6 +69,7 @@ def test_contributors_paginates_and_requires_verified_github_identity(): {"name": "Alias", "email": "2+alias@users.noreply.github.com", "user": None}, {"name": "Unknown", "email": "private@example.com", "user": None}, {"user": {"databaseId": 3, "login": "dependabot[bot]"}}, + {"user": {"databaseId": 6, "login": "Copilot"}}, {"user": {"databaseId": 4, "login": "other[bot]"}}, {"user": {"databaseId": 5, "login": "bot-attacker"}}, ]