# Pinning Actions to a SHA

say it: **“PIN-ing AK-shunz too uh SHAH”** **/ˈpɪnɪŋ ˈækʃənz tu ə ˈʃɑ/**

Using a commit SHA so the exact action code runs.

## What is **Pinning Actions to a SHA**?

**Pinning** an action to a full commit SHA (instead of `@v4`) guarantees the exact code runs, protecting against a tampered tag.

Level: Master · [More GitHub Actions terms at this level](https://www.ask-codey.com/glossary?category=github-actions&level=5)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/pinning-actions-to-a-sha
