Setting up the CLI
For our tasks in this chapter, we will need to create a repository and install a CLI for the debugging part of this book. To do this, follow these steps:
- First, we will need a repository in which to create workflows and try out the functionality. Create and initialize a
GHA.workflows
repository in the organization we created in Chapter 1. - We’ll then need to update the repository settings so that the reusable workflows we store in this in the future can be called from within the organization. To do so, you will need to open up the GitHub Actions General tab under the settings of the repository as we have done in previous chapters, and scroll to the Access section of this page, which, at the time of writing, is the last section of the page:
Figure 3.1 – Set accessibility on the account
To enable local debugging of our actions in the later part of this chapter, we’re also going to need to install the...