// module 05 · Supply chain at fleet scale
Actions are dependencies too: pinning, allowlists and lockfiles
Every `uses:` line runs someone else's code on your runner, with your token. A tag like `@v7` can be moved to new code at any time. This lesson pins every action in the fleet to a full commit SHA with a script, lets Dependabot keep the SHAs current, and only then turns on the org policies that require SHA pins and allow only GitHub, verified creators and an explicit list. We show the real failure you get when you enforce first, and try GitHub's newer option: a workflow dependency lockfile made with the `gh actions-lock` extension.
Learning Objectives
- Inventory every action the org's workflows use, and see which are pinned
- Pin actions to full commit SHAs across the fleet by PR, with the version in a comment
- Enforce SHA pinning and an actions allowlist at org level, in the right order
- Read the errors a blocked workflow produces, and know where to find them
- Generate a workflow dependency lockfile and see how it satisfies the pinning policy
This lesson is for enrolled learners
Log in, then enroll to read the full lesson, run its lab and take the quiz.
