r/devops • • 29d ago

Discussion GitHub Actions now supports dependency lockfiles

We often talk about securing the software supply chain in terms of application dependencies. For instance, pinning package versions, maintaining lockfiles, and auditing third-party libraries.

But what about the code that runs our CI/CD pipelines?

GitHub Actions workflows can execute third-party actions, and the security of those dependencies matters just as much when building and deploying software.

The introduction of workflow dependency lockfiles is an interesting step towards making CI/CD workflows more reproducible and secure.

I wrote about this recently, exploring why workflow lockfiles matter and how they fit into the broader software supply-chain security picture.

Read the article: https://amitmerchant.com/ci-pipeline-lockfile/

Curious how others are approaching dependency security in their CI/CD pipelines. Are you already pinning your actions and enforcing similar controls?

78 Upvotes

14 comments sorted by

View all comments

Show parent comment

8

u/Silent-Suspect1062 29d ago

Can't dependabot bump? With Cooldown obvs

8

u/TheIvoryAssassinPub 29d ago

Renovate can, not sure about dependabot

6

u/Cbatoemo 29d ago

Dependabot can also - even when using SHA

4

u/ImpressiveFee6007 29d ago

dependabot will also bump a comment after the sha with the human readable format i.e. actions/checkout@sha # vX.Y.Z

takes an extra step to get the sha the first time when writing the workflow, but after that it works really well