That 700 lines is almost certainly the part that rebuilds the form, not the part that sends it.
The shape that stays small is to patch a form you were handed rather than construct one. Fetch the edit page inside your session, walk every named input, select and textarea that is already there, change only the description key, and post the whole lot back to the same URL. Ours is well under a hundred lines because it never enumerates fields by hand and never needs to know what itch added last month.
One check worth keeping whatever route you take. Count the keys before you post. A real edit form serialises somewhere around forty five of them. If you ever count about thirteen, you have fetched the page without a session and you are one post away from wiping your price, your tags and your AI disclosure, because that post replaces rather than patches.
Fair warning on the CI half. We run this from inside a logged in browser session, not from a bare script carrying a cookie, so I can't tell you the GitHub Actions version works. The manual paste is a perfectly reasonable place to stop.