-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include yarn.lock in distributed files #41
Comments
If the goal is to ensure supply chain security, adding the
This action is released using https://github.com/DylanVann/publish-github-action/tree/v1.1.49, you can inspect the code there and, once you trust it (it's bootstrapped so you can apply the same logic to inspect its released files), you can then trust that the released files of all actions using One way to trace back a release to the |
I know this is not a tamper-proof solution, but at least it gives me some way of knowing what was included. Looking at the actions surely works, but I'm looking for an automated solution that gives me most of what I want with minimal effort :) In particular, I'm not looking to ensure nobody has fiddled with the release script and thereby included a malicious dependency. And I am aware that tags could be updated to point to something completely different. What I am looking for is knowing what version of what is included such that I can tell if there is a vulnerability in this action. |
I consider the current process simple and secure and I'm not willing to spend time working on or reviewing something to change this. I'm thus closing this. |
Hey 👋
Would it be possible to add
yarn.lock
to thefiles
in package.json?In a world where supply chain security becomes more prevalent, it would be nice to be able to track exactly what the action was built on. For example, if I wanted to know what libraries were used in release
v1.4.0
I'd have to look at the history of package.json in order to know what content was used to create this release.This happens because, the way this action is released (create separate branch, move only some of the files) makes it difficult to trace back what the release was built on.
If
yarn.lock
was included in thefiles
in package.json, and it would be included in the distributed files (tar.gz) and therefore, it would be possible to take a tag (e.g.v1.4.0
), look at the yarn.lock and know what exact versions of libraries were used.I'm happy to create a PR if you agree.
Thanks
The text was updated successfully, but these errors were encountered: