Closed github-learning-lab[bot] closed 2 years ago
my-workflow.yml
by using the instructions below, or this quicklink.
main.yml
to my-workflow.yml
.add-initial-workflow
.Create pull request
.It is important to place meaningful content into the body of the pull requests you create throughout this course. This repository will stay with you long after you complete the course. It is advisable that you use the body of the pull requests you create as a way to take long lived notes about thing you want to remember.
I'll respond in the new pull request when I detect it has been created. If at any point you're expecting a response and don't see one, refresh the page.
Now, let's move to the new pull request where we will continue this lesson. Click the link to meet me over there.
Hi there 👋!
Hello @kng72, I'm so excited to teach you how to create your own custom Docker based action 😄
GitHub Actions are enabled on your repository by default, but we still have to tell our repository to use them. We do this by creating a workflow file in our repository.
What is a workflow file?
A workflow file can be thought of as the recipe for automating a task. They house the start-to-finish instructions, in the form of
jobs
andsteps
, for what should happen based on specific triggers.Your repository can contain multiple workflow files that carry out a wide variety of tasks. It is important to consider this when deciding on a name for your workflow. The name you choose should reflect the tasks being performed.
In our case, we will use this one workflow file for many things, which leads us to break this convention for teaching purposes.
📖 Read more about workflows