Jump to ratings and reviews
Rate this book

GitHub Actions Cookbook: A practical guide to automating repetitive tasks and streamlining your development process

Rate this book
Authored by a Microsoft Regional Director, this book shows you how to leverage the power of the community-driven GitHub Actions workflow platform to automate repetitive engineering tasks

Key FeaturesAutomate CI/CD workflows and deploy securely to cloud providers like Azure, AWS, or GCP using OpenIDCreate your own custom actions with Docker, JavaScript programming, or shell scripts and share them with othersDiscover ways to automate complex scenarios beyond the basic ones documented in GitHubBook DescriptionSay goodbye to tedious tasks! GitHub Actions is a powerful workflow engine that automates everything in the GitHub ecosystem, letting you focus on what matters most.

This book explains the GitHub Actions workflow syntax, the different kinds of actions, and how GitHub-hosted and self-hosted workflow runners work. You’ll get tips on how to author and debug GitHub Actions and workflows with Visual Studio Code (VS Code), run them locally, and leverage the power of GitHub Copilot. The book uses hands-on examples to walk you through real-world use cases that will help you automate the entire release process. You’ll cover everything, from automating the generation of release notes to building and testing your software and deploying securely to Azure, Amazon Web Services (AWS), or Google Cloud using OpenID Connect (OIDC), secrets, variables, environments, and approval checks.

The book goes beyond CI/CD by demonstrating recipes to execute IssueOps and automate other repetitive tasks using the GitHub CLI, GitHub APIs and SDKs, and GitHub Token. You’ll learn how to build your own actions and reusable workflows to share building blocks with the community or within your organization.

By the end of this GitHub book, you'll have gained the skills you need to automate tasks and work with remarkable efficiency and agility.

What you will learnAuthor and debug GitHub Actions workflows with VS Code and CopilotRun your workflows on GitHub-provided VMs (Linux, Windows, and macOS) or host your own runners in your infrastructureUnderstand how to secure your workflows with GitHub ActionsBoost your productivity by automating workflows using GitHub's powerful tools, such as the CLI, APIs, SDKs, and access tokensDeploy to any cloud and platform in a secure and reliable way with staged or ring-based deploymentsWho this book is forThis book is for anyone looking for a practical approach to learning GitHub Actions, regardless of their experience level. Whether you're a software developer, a DevOps engineer, anyone who has already experimented with Actions, or someone completely new to CI/CD tools like Jenkins or Azure Pipelines, you’ll find expert insights in this book. Basic knowledge of using Git and command lines is a must.

Table of ContentsGitHub Actions WorkflowsAuthoring and Debugging WorkflowsBuilding GitHub ActionsThe Workflow RuntimeAutomate Tasks in GitHub with GitHub ActionsBuilding and Validating Your CodeRelease Your Software with GitHub Actions

250 pages, Paperback

Published April 30, 2024

Loading...
Loading...

About the author

Michael Kaufmann is a technology strategist, executive advisor, and international keynote speaker with more than 25 years of experience helping organizations transform how they build and deliver software. A former software engineer, he has worked across architecture, DevOps, and senior leadership, bringing both technical depth and practical experience to the challenges of organizational change.

Kaufmann is the author of four technical books. In The Horizon Problem, he brings his experience to life through the story of Alex Meyer and a bank struggling to change. The novel explores why transformations stall—and how leaders can move beyond new labels and slide decks to create meaningful change.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (50%)
4 stars
2 (50%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 1 of 1 review
Profile Image for Brian Salehi.
19 reviews2 followers
January 5, 2025
Good resource to do what you want, from simple tasks to complex. I would also recommend you to read only the parts you want, unless you are a seasoned devops engineer.
Displaying 1 - 1 of 1 review