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: 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 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"