ci: skip "docs" folder as part of get_changed_packages test

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
This commit is contained in:
Pablo Correa Gómez 2026-01-30 20:08:30 +01:00 committed by The Friendly Meow (merge) Bot
parent cd91997729
commit ee7c30c4f6
No known key found for this signature in database

View file

@ -139,7 +139,14 @@ def get_changed_packages(skip_archived: bool = False):
# Skip files:
# * in the root dir of pmaports (e.g. README.md)
# * path with a dot (e.g. .ci/, device/.shared-patches/)
if not dirname or file.startswith(".") or "/." in file or skip_archived and dirname.startswith("device/archived"):
# * documentation
if (
not dirname
or file.startswith(".")
or "/." in file
or skip_archived and dirname.startswith("device/archived")
or dirname == "docs"
):
continue
if filename != "APKBUILD":