-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: add missing nop logic for custom properties plugin #738
base: main-enterprise
Are you sure you want to change the base?
fix: add missing nop logic for custom properties plugin #738
Conversation
ba6b985
to
79080d0
Compare
79080d0
to
f25def7
Compare
It has a bug where in the PR it states:
|
@wernerb I have not been able to reproduce this issue. Cloud you please share your config files? I've tried the following scenarios:
Until a more comprehensive solution is implemented (#719), we could consider adding basic validation:
Thanks! |
@PendaGTP I use the official docker image 2.15-rc.1 as there is a problem with the newer images (see latest issue where i get a 404 on using the image). I override It is such high-priority, that I am tempted to do away with our hosted flow and use the action flow instead as it seems it is more supported? The custom property is a "text" type property nothing really special with it |
what a coincidence, I was thinking of doing exactly the inverse and use the hosted flow instead 😀 |
I am really interested in this 😄. My company is using safe-settings but I don't want to start deploying custom properties until we get no-op support. As a clarifying question, are we still able to manage some custom properties manually and some custom properties through safe-settings? I know for other things (e.g. topics, teams, and people), once we start managing them in safe-settings we can't manage them manually. But I am not sure for custom properties if it's an all-or-nothing thing or if it is a one-by-one for custom properties. |
Fixes #734
Implements proper
nop
(dry-run) logic handling for Custom PropertIes plugin, aligning with documentation and other plugins.Changes
paginate
for gettings all custom propertiesgithub.request
/repos/:org/:repo/properties/values
to/repos/{owner}/{repo}/properties/values
for consistency with GitHub APImodifyProperty
methodNote
Currently, organization properties are not fetched from the GH Organization API. When modifying repo custom properties, this results in a 422 error if the property isn't defined at the org level. Future improvements could: