Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
GitHub Actions Cookbook

You're reading from  GitHub Actions Cookbook

Product type Book
Published in Apr 2024
Publisher Packt
ISBN-13 9781835468944
Pages 250 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Michael Kaufmann Michael Kaufmann
Profile icon Michael Kaufmann

Table of Contents (10) Chapters

Preface 1. Chapter 1: GitHub Actions Workflows 2. Chapter 2: Authoring and Debugging Workflows 3. Chapter 3: Building GitHub Actions 4. Chapter 4: The Workflow Runtime 5. Chapter 5: Automate Tasks in GitHub with GitHub Actions 6. Chapter 6: Build and Validate Your Code 7. Chapter 7: Release Your Software with GitHub Actions 8. Index 9. Other Books You May Enjoy

Automating the update of your dependencies

Now that we have an end-to-end workflow from our package repo into the release repo and, from there, into production, I want to show you how you can use dependabot together with GitHub Actions to automate the update process of your dependencies.

Getting ready…

In the repository, navigate to Settings | Code security and analysis and make sure that Dependency graph is enabled (see Figure 7.4):

Figure 7.5 – Enabling the dependency graph and optional dependabot alerts

Figure 7.5 – Enabling the dependency graph and optional dependabot alerts

This will analyze your repository and detect all dependencies that you can inspect under Insights | Dependency graph. You can also enable Dependabot alerts. In this case, dependabot will notify you when there are known vulnerabilities in one of your dependencies. Dependabot security updates go one step further, and dependabot will generate a pull request with a version update to a nonvulnerable version for you. To reduce the number...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}