Skip to content
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

fix(security): Add semantic-release to dev dependencies #207

Closed
wants to merge 2 commits into from

Conversation

AaronDewes
Copy link
Contributor

Installing it during the actions run makes supply chain attacks by a possibly compromised semantic-release package easier. Pinning the version through the lockfile prevents this.

In addition, this prevents breaking changes in semantic-release breaking the build.

Installing it during the actions run makes supply chain attacks by a possibly compromised semantic-release package easier. Pinning the version through the lockfile prevents this.
Copy link

github-actions bot commented Apr 4, 2024

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

.github/workflows/release.yml Outdated Show resolved Hide resolved
Co-authored-by: Gareth Jones <Jones258@Gmail.com>
Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

you can pin the version with when calling with npx instead, I think @travi added a renovate strategy to update

We are also very careful and put a lot of safety mechanisms into @semantic-release to prevent supply chain attacks.

And lastly, we don't have any CI checks for semantic release. In the end we will get updates for semantic release and merge them in anyway without much review. I don't think it's worth it.

@wolfy1339
Copy link
Member

Currently, semantic-release is using older versions of Octokit, which conflicts with the newer versions of Octokit which require the newer versions that are ESM.

Installing it on the fly with npx and removing it from the dev dependencies unblocked release workflows

@AaronDewes AaronDewes closed this Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants