diff --git a/.ci/lib/apkbuild_linting.py b/.ci/lib/apkbuild_linting.py index 9aa49ab5a..d16c2e78c 100755 --- a/.ci/lib/apkbuild_linting.py +++ b/.ci/lib/apkbuild_linting.py @@ -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) diff --git a/docs/ci-tags.md b/docs/ci-tags.md index ca8d733c7..7ff864db9 100644 --- a/docs/ci-tags.md +++ b/docs/ci-tags.md @@ -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.