Chapter 5: Writing Your Own Actions
At this point, you have developed all the skills needed to enable GitHub Actions on a repository and write a workflow file using YAML Ain't Markup Language (YAML). You have also practiced adding existing public actions to your workflow file. Next, you will continue exploring the multitude of ways GitHub Actions can be used by writing your own action.
Actions are specific tasks that interact with a GitHub repository. In this chapter, you will learn—among other things—that you can write custom code to create an action using JavaScript and Docker. To help you gather the information needed to create your own action, this chapter is organized into the following sections:
- Overview
- Reviewing the metadata syntax
- Using exit codes
- Creating a JavaScript action
- Creating a Docker container action
- Creating a composite run steps action
By the end of this chapter, you will be able to create your own action...