ci: use more removed=False for get_changed_files

Most of the things don't really need it.

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7868>
This commit is contained in:
Pablo Correa Gómez
2026-02-01 21:06:22 +00:00
committed by [Merge Bot]
parent 6fb42ecb3f
commit 67045e0cbd
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -173,7 +173,7 @@ if __name__ == "__main__":
devices_under_test = set()
packages_modified = set()
# Get and print modified packages
for file in common.get_changed_files():
for file in common.get_changed_files(removed=False):
path = Path(file)
# Check if the modified's file parent folder is one of a supported dev
@@ -182,8 +182,6 @@ if __name__ == "__main__":
if path.name != "APKBUILD":
continue
elif not path.exists():
continue # APKBUILD was deleted
apkbuild = pmb.parse.apkbuild(path)
packages_modified.add(apkbuild['pkgname'])
archs.update(apkbuild["arch"])
+1 -1
View File
@@ -72,7 +72,7 @@ def show_error_all():
if __name__ == "__main__":
if "kconfigcheck.toml" in common.get_changed_files():
if "kconfigcheck.toml" in common.get_changed_files(removed=False):
print("kconfigcheck.toml changed -> checking all kernels")
if not check_kconfig_all():
show_error_all()