I used GitHub's API to get the info from each PR after it's merged. Then the workflow generates a file with the contributors avatar, username, etc. This file is included in the game before the build. Then it's all build and deployed to GitHub Pages!
The workflow also keeps an archive with all previous contributions so you can see yours even after a new PR is merged.
I had so much fun with this :D
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi! Just here to share my project :)
Using GitHub Actions to turn contributors into heros of my open source game
I used GitHub's API to get the info from each PR after it's merged. Then the workflow generates a file with the contributors avatar, username, etc. This file is included in the game before the build. Then it's all build and deployed to GitHub Pages!
The workflow also keeps an archive with all previous contributions so you can see yours even after a new PR is merged.
I had so much fun with this :D