Lesson 7 of 9 - Pipeline and supply chain

Pin actions and dependencies

By Branko Petric - Updated - About 7 min - Full access

The short answer

Your pipeline runs code written by strangers every time it builds. Pin actions to a full commit SHA, install from a committed lockfile, and let a bot propose updates you review. Check new package names for typos, and give GITHUB_TOKEN only the permissions each workflow needs.

Want the bigger picture? This lesson maps to this step of the DevOps roadmap.