ci: ignore "gitlab-ci.yml.j2" files in packages

These files are meant for hardware CI and are unrelated to the actual
package.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6696
This commit is contained in:
Martin Roukala (né Peres)
2025-07-30 12:54:24 +02:00
committed by Pablo Correa Gómez
parent 0257d1ee5c
commit dd643bff2a
+1 -1
View File
@@ -99,7 +99,7 @@ def test_aports_unreferenced_files():
for file in glob.iglob(dirname + "/**", recursive=True):
rel_file_path = os.path.relpath(file, dirname)
# Skip APKBUILDs and directories
if rel_file_path == "APKBUILD" or os.path.isdir(file):
if rel_file_path in ["APKBUILD", "gitlab-ci.yml.j2"] or os.path.isdir(file):
continue
if os.path.basename(rel_file_path) not in sources_chk \