ci: workflows: pin python dependencies#87609
Merged
nashif merged 3 commits intozephyrproject-rtos:mainfrom Mar 29, 2025
Merged
Conversation
aescolar
reviewed
Mar 25, 2025
e13a855 to
68c2a9b
Compare
aescolar
reviewed
Mar 25, 2025
18b79c3 to
374367f
Compare
pdgendt
reviewed
Mar 25, 2025
Member
Author
|
hmm, not sure about this one: I have not seen this during testing :( |
Contributor
Can we update the |
pdgendt
reviewed
Mar 25, 2025
f7b1d2e to
4ebcffb
Compare
Contributor
|
Lets do it with the entire environment using nix :-D Hash all the things! |
Contributor
|
Missed it last time I reviewed, but commit messages shouldn't contain Github |
jaci-nordic
added a commit
to jaci-nordic/sdk-nrf-1
that referenced
this pull request
Aug 20, 2025
Pinning to specific version and hashes helps with preventing supply chain attacks. Do not use custom tokens, rely on GH provided and managed tokens. Update GitHub Actions workflows to follow principle of least privilege Based on zephyr changes: zephyrproject-rtos/zephyr#87184 zephyrproject-rtos/zephyr#87609 zephyrproject-rtos/zephyr#87510 zephyrproject-rtos/zephyr#87254 Signed-off-by: Jakub Ciesla <jakub.ciesla@nordicsemi.no>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pin python dependencies to hashes and cleanup/unify python setup steps in
various workflows.
We now have one dependency file containing all requirements for github
actions that is managed centrally with hashes. No direct pip installs
are needed in workflow files and everything shall go via the
requirements file.
Pinning to specific version and hashes helps with preventing supply
chain attacks.
Signed-off-by: Anas Nashif anas.nashif@intel.com