Skip to content

Bump and pin all GitHub Actions to their SHAs#275

Merged
krassowski merged 10 commits intojupyterlab:mainfrom
agriyakhetarpal:security-fixes
Feb 26, 2026
Merged

Bump and pin all GitHub Actions to their SHAs#275
krassowski merged 10 commits intojupyterlab:mainfrom
agriyakhetarpal:security-fixes

Conversation

@agriyakhetarpal
Copy link
Member

Hi!

I am using these reusable workflows as part of a downstream extension, where I wish to commit to higher security standards. Unfortunately, the actions here are not pinned, so I can't enable the "Require actions to be pinned to their SHAs" setting in my repository as a result (because it also takes transitive dependencies into account). This PR should change that. I also introduced a Dependabot cooldown (as Zizmor suggests adding). I have included a bunch of other security fixes from Zizmor (e.g., handling template injection via shell expansion), and also frozen the pre-commit hooks (pre-commit will handle the hashes with its updates). I have not added Zizmor as a pre-commit hook; however, please let me know if you'd like me to change that.

@krassowski
Copy link
Member

Hi @agriyakhetarpal I am 👍 on this - any idea why the tests are failing after the changes?

@agriyakhetarpal
Copy link
Member Author

Hi @krassowski, thanks for triggering the test suite. I'll take a look over the weekend or early Monday!

@agriyakhetarpal
Copy link
Member Author

Ready for another look, @krassowski!

Copy link
Member

@krassowski krassowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you @agriyakhetarpal !

@krassowski krassowski changed the title Pin all GitHub Actions to their SHAs Bump and pin all GitHub Actions to their SHAs Feb 26, 2026
@krassowski krassowski merged commit 676099e into jupyterlab:main Feb 26, 2026
48 of 51 checks passed
@agriyakhetarpal agriyakhetarpal deleted the security-fixes branch February 26, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants