Trilarion / opensourcegames

Technical infos of open source games.
https://trilarion.github.io/opensourcegames/
Creative Commons Zero v1.0 Universal
631 stars 78 forks source link

Parse metadata action #382

Closed yairm210 closed 1 year ago

yairm210 commented 1 year ago

Tis I again! And it only took me... errr... 3 months to get around to it 😓

ANYWAY, here is a Super Simple Example for finding errors in entries, using an existing function!

And there's even an example of a fix baked in ;)

Before, parsing fails with a clear message:

RuntimeError: Repo "https://github.com/storm-devs/captain-blood" should end on .git.
captain_blood.md - Repo "https://github.com/storm-devs/captain-blood" should end on .git.
error(s) while reading entries

After fixing that, parsing passes successfully!

yairm210 commented 1 year ago

(squash merge obviously)

yairm210 commented 1 year ago

Now also includes updating the statistics on every push - I can remove that if you want, just wanted to show you what it would look like :)

Trilarion commented 1 year ago

Thanks. I will have a look at it and use it. Give me a few days. :)

Trilarion commented 1 year ago

I cloned your fork, checked out this branch, rebased it to the current master (had made one commit) squashed a few commits and pushed directly to me. See https://github.com/Trilarion/opensourcegames/commits/master

With this this PR is fully included.

yairm210 commented 1 year ago

I see that the actions aren't working because you haven't enabled external actions Can be fixed with "allow all actions": image