Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.49 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.49 KB

Welcome to write-docker-actions 🎉

This is the repo I used for the GitHub Actions: Write Docker container actions course on GitHub's Learning Lab.
Where I learned to create Docker based GitHub Actions, all actions can be found under .github/actions folder.

How the Actions work

The hello-world Action

The hello-world action takes two required users to greet and a third optional one, it uses golang to write out Hello {user}

The cat-facts Action

The cat-facts action uses Python 3 to fetch cat facts from the catfact API, then returns and outputs a random fact for another action to use.

The issue-maker Action

The issue-maker action uses node and the actions/toolkit to accept a title, fact and a token to create a new issue with that title and fact.

How to use the Actions

In this repository the Actions work on the pull_request event, specifically when a pull_request gets labeled with a label.
The workflow file can be found in the usual .github/workflows folder.