From f862c1a0e7f046e47da4d2faf00862e1bc92e94e Mon Sep 17 00:00:00 2001 From: Madhu Kanoor Date: Wed, 27 Sep 2023 05:29:17 -0400 Subject: [PATCH 1/3] chore: ruleset.name is required parameter (#587) Every ruleset should have a name so we can post events/facts between them. --- ansible_rulebook/schema/ruleset_schema.json | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible_rulebook/schema/ruleset_schema.json b/ansible_rulebook/schema/ruleset_schema.json index 78e8d1ca..e312b959 100644 --- a/ansible_rulebook/schema/ruleset_schema.json +++ b/ansible_rulebook/schema/ruleset_schema.json @@ -56,6 +56,7 @@ } }, "required": [ + "name", "hosts", "sources", "rules" From aaf2a4382fd5dfc8f262f174d3a38b864531b259 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 27 Sep 2023 16:19:58 +0200 Subject: [PATCH 2/3] chore: skip paths in CI workflow (#585) Co-authored-by: Tom Tuffin <71447672+ttuffin@users.noreply.github.com> --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 783dfd4e..f642b698 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,9 +4,15 @@ on: push: branches: - "main" + paths-ignore: + - "docs/**" + - "*.md" pull_request: branches: - "main" + paths-ignore: + - "docs/**" + - "*.md" workflow_dispatch: jobs: From b10a83d0a3d0885eafc3fd6384cfd287933c99aa Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 27 Sep 2023 17:32:31 +0200 Subject: [PATCH 3/3] chore: remove wrong 'language' key in pre-commit config (#586) Co-authored-by: Madhu Kanoor --- .pre-commit-config.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7cbf129d..3d181701 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,6 @@ repos: additional_dependencies: - flake8-bugbear - repo: local - language: javascript hooks: - id: ajv name: ajv