-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in 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 😀 |
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: