-
Notifications
You must be signed in to change notification settings - Fork 1
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
Separate jobs with tagpr and others #98
Conversation
Skip the release job entirely.
WalkthroughThe pull request introduces significant changes to the workflow configuration in Changes
Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Caution
Inline review comments failed to post. This is likely due to GitHub's limits when posting large numbers of comments.
Actionable comments posted: 1
🛑 Comments failed to post (1)
.github/workflows/release.yml (1)
29-41:
⚠️ Potential issueSeveral improvements needed for the publish job.
- The
runs-on
value should be lowercase 'ubuntu-latest'- Missing Node.js setup step required for
npx
- Consider adding error handling for the publish step
Apply these changes to improve reliability:
publish: name: 📦 Publish to JSR permissions: contents: read id-token: write needs: tagpr if: ${{ needs.tagpr.outputs.tag != '' }} - runs-on: Ubuntu-Latest + runs-on: ubuntu-latest steps: - name: 🚚 Checkout Repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: 📥 Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: 'lts/*' - name: 📦 Publish to JSR + id: publish run: npx jsr publish + continue-on-error: true + - name: 🚨 Check publish status + if: steps.publish.outcome == 'failure' + run: | + echo "::error::Failed to publish to JSR" + exit 1📝 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.publish: name: 📦 Publish to JSR permissions: contents: read id-token: write needs: tagpr if: ${{ needs.tagpr.outputs.tag != '' }} runs-on: ubuntu-latest steps: - name: 🚚 Checkout Repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: 📥 Setup Node.js uses: actions/setup-node@v4 with: node-version: 'lts/*' - name: 📦 Publish to JSR id: publish run: npx jsr publish continue-on-error: true - name: 🚨 Check publish status if: steps.publish.outcome == 'failure' run: | echo "::error::Failed to publish to JSR" exit 1
close #
🔄 Type of the Change
✏️ Description
Skip the release job entirely.
Code of Conduct.