Closed eclipse-csi-bot closed 10 months ago
In GitLab by @netomi on Jan 4, 2024, 09:29
This is related to https://gitlab.eclipse.org/eclipsefdn/security/otterdog/-/issues/161, where we need to ensure that all organization wide settings are coerced correctly on repo level.
In GitLab by @netomi on Jan 4, 2024, 09:30
As a quick fix I will add a validation rule for that.
In GitLab by @heurtemattes on Jan 4, 2024, 09:33
marked this issue as related to #161
In GitLab by @netomi on Jan 4, 2024, 09:43
mentioned in commit 650f0d8473a2bf09ecba115eb8dc3ae2df15274c
In GitLab by @netomi on Jan 4, 2024, 09:43
Added a validation rule and correctly coerce the setting if it is set to enabled on repo level but disabled on org level.
In GitLab by @netomi on Jan 4, 2024, 09:45
So you can push the change to the repo so that the warning will not show up, but it is not strictly necessary.
In GitLab by @heurtemattes on Jan 4, 2024, 10:37
I think your fix is fine. I leave it like that.
In GitLab by @heurtemattes on Jan 4, 2024, 09:26
Org
https://github.com/eclipse-symphony
have this workflow configuration:Applying first PR on self-service project, no errors appeared.
With this configuration:
Applying with locally with otterdog show a 409 code error
Repository is created correctly, with right configuration from org configuration.
As a workaround I propose to push configuration in project like:
Maybe implements a rule for checking that org configuration. WDYT?