From 5a44569ccc023cc738de0a5610684f421ffe769a Mon Sep 17 00:00:00 2001 From: Thomas Neidhart Date: Mon, 21 Oct 2024 09:16:11 +0200 Subject: [PATCH] chore: add missing parameter target for a ruleset --- CHANGELOG.md | 9 ++++++--- otterdog-defaults.libsonnet | 3 ++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec24d75..ecae684 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [0.9.2] - 2024/10/21 + +### Added + +- Added missing parameter `target` for a ruleset. + ## [0.9.1] - 2024/10/07 ### Added @@ -10,7 +16,6 @@ - Converted status check related configurations of a ruleset to an embedded model. - ## [0.9.0] - 2024/09/26 ### Changed @@ -41,14 +46,12 @@ - Updated reference to Eclipse Otterdog app as its slug has changed. - Removed default values for deprecated and obsolete organization settings. - ## [0.8.3] - 2024/06/05 ### Added - Added configuration for code scanning default setup of a repository. - ## [0.8.2] - 2024/04/04 ### Changed diff --git a/otterdog-defaults.libsonnet b/otterdog-defaults.libsonnet index d58a205..92741a9 100644 --- a/otterdog-defaults.libsonnet +++ b/otterdog-defaults.libsonnet @@ -101,7 +101,7 @@ local newRepo(name) = { # branch protection rules branch_protection_rules: [], - + # rulesets rulesets: [] }; @@ -166,6 +166,7 @@ local newStatusChecks() = { local newRepoRuleset(name) = { name: name, enforcement: "active", + target: "branch", include_refs: [], exclude_refs: [],