Practical ways to harden Python projects and GitHub Actions against supply-chain attacks using hash pins, lockfiles, and dependency cooldowns.