-
Notifications
You must be signed in to change notification settings - Fork 7
chore(deps): reconfigure semantic-release #167
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
chore(deps): reconfigure semantic-release #167
Conversation
update to semantic-release 24.2.7
Local check:
|
Here is one more PR for you to please review and merge. The main goal is to re-enable semantic-release which was broken. A secondary effect is to reduce the quantity of vulnerabilities. At a minimum I would like to see no critical vulnerabilities when cloning and building the repo. After merging this PR, there are still the following being reported after executing
so, still some way to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for doing this @MikeMcC399!
# only release from the master branch in parent repository, not in a fork | ||
if: (github.ref == 'refs/heads/master') && | ||
(github.repository == 'cypress-io/commit-info') | ||
# TODO: remove --dry-run after testing and when a real release is needed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whenever we are ready for this @MikeMcC399 let me know as I likely need to update the NPM_TOKEN
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge into the master
branch is showing that the NPM_TOKEN
is indeed missing.
See https://github.com/cypress-io/commit-info/actions/runs/17409432544/job/49422571964
That was the only point that I was unable to view and to test with only having external access privileges.
If cypress-io
does not set NPM_TOKEN
at an organizational level in GitHub, then it will need to be defined here in this repo, and this should be done now (without any particular urgency), so that the dry-run workflow can be checked as successful.
Thanks once again for reviewing and merging! I will keep doing updates here at a steady pace. They have to come one after another because otherwise it creates package.json
conflicts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MikeMcC399 the NPM_TOKEN
should now be present and passed on a rerun https://github.com/cypress-io/commit-info/actions/runs/17409432544/job/49430709280
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great to see that the dry-run is now working! 🎉 It has revealed that there is a pending patch release due to PRs that were merged back in 2023!
I would currently leave the release workflow in its dry-run setting and come back to this in due course after completing more of the maintenance work.
2.2.1 (v2.2.0...v2.2.1) (2025-09-02)
Bug Fixes
* **deps:** update debug to 4.3.4 🌟 ([e563983](https://github.com/cypress-io/commit-info/commit/e5639832cae219a7150587f987a4fefe5464c2da))
* **deps:** update dependency bluebird to version 3.7.2 🌟 ([#150](https://github.com/cypress-io/commit-info/issues/150)) ([5b96920](https://github.com/cypress-io/commit-info/commit/5b969201e7e7404f022be67315b0089d898906e9))
🎉 This PR is included in version 2.2.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Situation
semantic-release
does not work. See also semantic-release fails #165[email protected] configured in the repo, was released on Nov 16, 2020, and it contains multiple vulnerabilities:
semantic-release
is disabled from running in .github/workflows/main.yml since it is commented outChange
In the workflow .github/workflows/main.yml:
semantic-release
only runs in themaster
branch of the parent repository, not in a fork:semantic-release
. Reference semantic-release > GitHub Actions:semantic-release
directly withnpx
, instead of through apackage.json
script:npx semantic-release
For testing purposes, and until a real release is needed, the
--dry-run
option is added.Configuration verification
Execute locally:
Reference