DEV Community

Cover image for Getting started with Actions
Ris Adams
Ris Adams

Posted on

Getting started with Actions

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.

  1. Create a simple "Hello-World" style action to get a feel for things.
  2. Use the Github API to pull and update the contributors data
  3. Figure out how to write and save a file
  4. 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

Top comments (0)