From 2c756c0ecda6643a2c62defd6134b4dc3b85f7d4 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Wed, 24 Jul 2024 10:55:52 -0400 Subject: [PATCH 1/2] fix: Add edx-documentation exception for commitlint. --- edx_repo_tools/repo_checks/repo_checks.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/edx_repo_tools/repo_checks/repo_checks.py b/edx_repo_tools/repo_checks/repo_checks.py index 0e5eb6ee..650231e7 100644 --- a/edx_repo_tools/repo_checks/repo_checks.py +++ b/edx_repo_tools/repo_checks/repo_checks.py @@ -335,9 +335,11 @@ def __init__(self, api: GhApi, org: str, repo: str): # A lost of repos and workflows that should not be added to them. self.exceptions = { - # We don't want commitlint on the docs.openedx.org repo because we want to encourage - # contributions from non-technical contributors and reduce their barriar to entry. + # We don't want commitlint on the docs.openedx.org and edx-documentation repos because + # we want to encourage contributions from non-technical contributors and reduce their + # barriar to entry. "docs.openedx.org": ["commitlint.yml"], + "edx-documentation": ["commitlint.yml"], } self.branch_name = "repo_checks/ensure_workflows" From 4191b30a537c4519f660dcf193d4c8b19ab56778 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Fri, 26 Jul 2024 08:33:25 -0400 Subject: [PATCH 2/2] docs: Update edx_repo_tools/repo_checks/repo_checks.py Co-authored-by: Edward Zarecor --- edx_repo_tools/repo_checks/repo_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edx_repo_tools/repo_checks/repo_checks.py b/edx_repo_tools/repo_checks/repo_checks.py index 650231e7..94968acb 100644 --- a/edx_repo_tools/repo_checks/repo_checks.py +++ b/edx_repo_tools/repo_checks/repo_checks.py @@ -337,7 +337,7 @@ def __init__(self, api: GhApi, org: str, repo: str): self.exceptions = { # We don't want commitlint on the docs.openedx.org and edx-documentation repos because # we want to encourage contributions from non-technical contributors and reduce their - # barriar to entry. + # barrier to entry. "docs.openedx.org": ["commitlint.yml"], "edx-documentation": ["commitlint.yml"], }