This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git


The following commit(s) were added to refs/heads/main by this push:
     new d50053b  Add .asf.yaml to the list of allowed top level files
d50053b is described below

commit d50053b88f3d704f647a84345a30eeb673addf49
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri Jun 20 16:30:39 2025 +0100

    Add .asf.yaml to the list of allowed top level files
---
 atr/tasks/checks/paths.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/atr/tasks/checks/paths.py b/atr/tasks/checks/paths.py
index b06074e..3a4fd1f 100644
--- a/atr/tasks/checks/paths.py
+++ b/atr/tasks/checks/paths.py
@@ -179,7 +179,7 @@ async def _check_path_process_single(
         await _check_metadata_rules(base_path, relative_path, relative_paths, 
ext_metadata, errors, warnings)
     else:
         _LOGGER.info("Checking general rules for %s", full_path)
-        allowed_top_level = {"LICENSE", "NOTICE", "README", "CHANGES"}
+        allowed_top_level = {".asf.yaml", "CHANGES", "LICENSE", "NOTICE", 
"README"}
         if (relative_path.parent == pathlib.Path(".")) and (relative_path.name 
not in allowed_top_level):
             warnings.append(f"Unknown top level file: {relative_path.name}")
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to