Getting started with Actions
source link: https://dev.to/risadams/getting-started-with-actions-4ngh
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
For this year's Actions Hackathon, I intend to learn how to write custom actions. I will start small by creating a simple action that will automatically update a CONTRIBUTORS.md document with the top contributors list.
Because I do not yet know how actions work, this will be a multi-step process.
- Create a simple "Hello-World" style action to get a feel for things.
- Use the Github API to pull and update the contributors data
- Figure out how to write and save a file
- Figure out how to commit back to the repo, or start a pull request
My Workflow
You can view the project here: https://github.com/risadams/contributors-update, And feel free to leave comments or suggestions, everything is MIT license
Submission Category: Maintainer Must-Haves
Yaml File or Link to Code
https://github.com/risadams/contributors-update
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK