CI: apkbuild-lint: add a skip-apkbuild-lint tag

As we are now moving to a newer, stricter version, we might want to skip
fixing APKBUILDs in some MRs. And this is in general useful to have.

Signed-off-by: Oliver Smith <ollieparanoid@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8735>
This commit is contained in:
Oliver Smith
2026-06-07 10:09:20 +00:00
parent 87502f982e
commit 734884e864
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -38,6 +38,10 @@ def get_kconfigcheck_categories() -> list [str]:
if __name__ == "__main__":
if common.commit_message_has_string("[ci:skip-apkbuild-lint]"):
print("WARNING: not linting deviceinfo files ([ci:skip-apkbuild-lint])")
exit(0)
kconfigcheck_categories = get_kconfigcheck_categories()
custom_valid_options += kconfigcheck_categories
os.environ["CUSTOM_VALID_OPTIONS"] = " ".join(custom_valid_options)
+4
View File
@@ -5,6 +5,10 @@ the continuous integration behaviour for your merge requests.
## Current CI tags
* `[ci:skip-apkbuild-lint]`: Don't run `apkbuild-lint` from
[atools-go](https://gitlab.alpinelinux.org/alpine/infra/atools-go). Use this
e.g. when making treewide changes where fixing up all APKBUILDs in the same
merge request is not useful.
* `[ci:skip-build]`: Do not build modified packages, only verify their
checksums. Use this when pushing changes to an MR that should not trigger a
complete build.