-
Notifications
You must be signed in to change notification settings - Fork 0
fix: fixes the release action erorrs #11
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
Conversation
|
WalkthroughThe GitHub Actions workflow at .github/workflows/release.yml was updated to trigger on release events of type "released" instead of "published." In the Setup Node.js step, the configuration removed cache: "pnpm" and always-auth: true, eliminating explicit PNPM caching and the always-auth setting. No exported or public entity declarations were altered. Pre-merge checks✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
| on: | ||
| release: | ||
| types: [published] | ||
| types: [released] |
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.
Restore the release trigger to published.
Using types: [released] only fires when a prerelease is promoted to a full release. Regular releases published directly from draft (the common path) emit the published activity instead, so this workflow will stop running on new releases.(docs.github.com)
- types: [released]
+ types: [published]📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| types: [released] | |
| types: [published] |
🤖 Prompt for AI Agents
In .github/workflows/release.yml around line 9 the workflow trigger uses types:
[released], which only fires when a prerelease is promoted; replace it with
types: [published] so the workflow runs for normal release publishes (i.e., set
types: [published] under the release trigger), verify YAML indentation/syntax
remains correct, and commit the change.



fixes the release action errors