Skip to Content
Learning GitHub Actions
book

Learning GitHub Actions

by Brent Laster
August 2023
Intermediate to advanced
411 pages
9h 24m
English
O'Reilly Media, Inc.
Book available
Content preview from Learning GitHub Actions

Chapter 12. Advanced Workflows

By this point in the book, you’ve seen many basic examples of workflows. Beyond the basics are several approaches for leveraging workflows that can greatly simplify repeated use. In this chapter, I’ll show you several ways you can leverage workflows to get additional flexibility and reuse.

In particular, I’ll cover implementation and use patterns for the following:

  • Starter workflows
  • Reusable workflows
  • Required workflows

Creating Your Own Starter Workflows

Starter workflows were introduced in Chapter 1. As a reminder, starter workflows are basic workflow examples, tailored for a particular purpose, that anyone can use as initial code when you need to create a new workflow. As of the time of this writing, the ones provided with GitHub Actions fall into several categories:

Automation
Helpful code for doing automated processing such as handling pull requests
Continuous Integration
Monitoring code changes and initiating follow-on processes such as building and testing
Deployment
Using automation to publish and deploy software updates
Security
Adding security automation, such as code scanning, dependency review, etc., to your workflows
Pages
Automating deploying and packaging GitHub Pages sites using different technologies
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning GitHub Actions for DevOps CI/CD

Learning GitHub Actions for DevOps CI/CD

Vijay Saini
Learning Git

Learning Git

Anna Skoulikari

Publisher Resources

ISBN: 9781098131067Errata PageSupplemental Content