-
Notifications
You must be signed in to change notification settings - Fork 0
feat: creating readonly option #8
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -3,39 +3,59 @@ name: semantic-release | |||||||
| on: | ||||||||
| push: | ||||||||
| branches: [master] | ||||||||
| workflow_dispatch: | ||||||||
|
|
||||||||
| permissions: | ||||||||
| id-token: write | ||||||||
| contents: read | ||||||||
|
|
||||||||
| jobs: | ||||||||
| semantic: | ||||||||
| runs-on: ubuntu-latest | ||||||||
| env: | ||||||||
| GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||||||||
|
||||||||
| GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
| GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
Copilot
AI
Apr 1, 2026
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.
The release workflow no longer runs the test suite (previously npm test with Redis). Relying only on PR checks means direct pushes (or workflow_dispatch) can publish without verification. Consider running at least npm test/npm run test:coverage here (and starting Redis if needed) before invoking semantic-release.
Copilot
AI
Apr 1, 2026
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.
The sed pattern is looking for "version": (HTML entity) instead of the actual JSON "version":. As written, previousVersion/finalVersion will likely be empty, which breaks the conditional git push logic. Update the pattern to match the literal colon (or use node -p "require('./package.json').version" / jq -r .version).
This file was deleted.
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.
This workflow still references
matrix.node-versionin the step name, but the matrix strategy was removed. Referencingmatrix.*without a matrix will fail workflow parsing/execution. Either restore the matrix strategy or remove the${{ matrix.node-version }}reference (and optionally set an explicitnode-version).