Changes Made
This was incorrectly being parsed by splitting on a | character, when it's actually a JSON array/tuple. I'm guessing this was changed in Forgejo at some point, as I don't know why I would have parsed it like this if it was always JSON.
Also pulls the repo name out into its own function and uses it in all places the repo name is accessed.
Code of Conduct
- I agree to act in accordance with the CoC & AI Agreement.
- This contribution was not generated by an LLM, even in part.