From ea665db5b800e85650c1f78c28a97957f68fcd59 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Fri, 26 Jul 2024 08:36:06 -0400 Subject: [PATCH] fix: Add edx-documentation exception for commitlint. (#542) * fix: Add edx-documentation exception for commitlint. Co-authored-by: Edward Zarecor --------- Co-authored-by: Edward Zarecor --- 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..94968acb 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 + # barrier to entry. "docs.openedx.org": ["commitlint.yml"], + "edx-documentation": ["commitlint.yml"], } self.branch_name = "repo_checks/ensure_workflows"