Skip to content

Commit

Permalink
Ignore unknown sections under changes key on changelogs
Browse files Browse the repository at this point in the history
Fixes: #3261
  • Loading branch information
ssbarnea committed Apr 11, 2023
1 parent 8f2e0da commit 72b68fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansiblelint/schemas/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"additionalProperties": false,
"properties": {
"changes": {
"additionalProperties": false,
"additionalProperties": true,
"properties": {
"breaking_changes": {
"items": {
Expand Down
2 changes: 2 additions & 0 deletions test/schemas/test/changelogs/maximal/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ releases:
- something that is not included in release notes
known_issues:
- som other
xxx:
- we should ignore unknown keys because used can define custom section in changelogs/config.yaml file
modules:
- name: head
description: Make a HEAD request
Expand Down

0 comments on commit 72b68fb

Please sign in to comment.