From 8093a955e3c6238cc14537a54c56277af6b89dc2 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Sun, 7 Jan 2024 11:39:27 +0000 Subject: Add initial playbook At present, the playbook simply ensures that all required packages are installed. --- .precious.toml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .precious.toml (limited to '.precious.toml') diff --git a/.precious.toml b/.precious.toml new file mode 100644 index 0000000..89e21de --- /dev/null +++ b/.precious.toml @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: 2024 Matthew Fennell +# +# SPDX-License-Identifier: AGPL-3.0-only + +[commands.gitlint] +cmd = ["gitlint"] +include = "*" +invoke = "once" +ok_exit_codes = [0] +path_args = "none" +type = "lint" + +[commands.reuse] +cmd = ["reuse", "lint"] +include = "*" +invoke = "once" +lint_failure_exit_codes = [1] +ok_exit_codes = [0] +path_args = "none" +type = "lint" + +[commands.shellcheck] +cmd = ["shellcheck", "--severity=style", "--enable=all"] +include = ["hooks/*"] +lint_failure_exit_codes = [1] +ok_exit_codes = [0] +type = "lint" + +[commands.yamllint] +cmd = ["yamllint", "--strict"] +include = ["*.yaml"] +lint_failure_exit_codes = [1, 2] +ok_exit_codes = [0] +type = "lint" -- cgit v1.2.3