add github action to implement #1490 contributor image#1495
add github action to implement #1490 contributor image#1495kjhollen wants to merge 3 commits intoprocessing:mainfrom
Conversation
Implements @skyash-dev's solution from the p5.js repository: - add a github action to generate the image in contributors-png.yml - add utils/contributors-png.js to use node & canvas to make an image - generate a pull request with the new updated image when the all contributors file is changed - add contributors.png to the README in the contributors section
|
This looks good! I think we'll have to add some sort of secret to the github action environment, and actually create an environment as well. Where is this secret by the way? I think it's possible to run the action on this branch here. But also it's possible to run it on your own fork of the project if you wanted. I think it's fine for us to figure it out here! |
|
Ok, I'm realizing there's more to it on the GitHub side. I think for p5.js they have a bot set up to automate the commits, and the access token is built into that infrastructure rather than added to the repository as its own secret. I haven't really set up GitHub actions or bots before so it's going to take me a bit to figure out. I have to log out for the day, but will pick this up next week! |
|
@kjhollen Let me know if you need access to @processing-bot 😃 |
Implements @skyash-dev's solution from the p5.js repository:
I tried to test this locally a few different ways and got tripped up on the access token (which an admin will need to add to this repo's secrets to fully realize this fix).