-
Notifications
You must be signed in to change notification settings - Fork 191
Experimental - v3 #1426
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: main
Are you sure you want to change the base?
Experimental - v3 #1426
Conversation
|
Important Review skippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 93 files out of 299 files are above the max files limit of 100. Please upgrade to Pro plan to get higher limits. You can disable this status message by setting the ✨ Finishing touches
🧪 Generate unit tests (beta)
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 |
fix: InvalidStateError when posting to BroadcastChannel under React Strict Mode
Feat/monorepo
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| include: | ||
| - package: api | ||
| scope: "@hexabot-ai/api" | ||
| working-directory: packages/api | ||
| - package: cli | ||
| scope: "@hexabot-ai/cli" | ||
| working-directory: packages/cli | ||
| - package: widget | ||
| scope: "@hexabot-ai/widget" | ||
| working-directory: packages/widget | ||
| steps: | ||
| - name: Check out repository code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup pnpm | ||
| uses: pnpm/action-setup@v4 | ||
| with: | ||
| version: 9.12.0 | ||
| standalone: true | ||
| run_install: false | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "20" | ||
| cache: pnpm | ||
| registry-url: "https://registry.npmjs.org/" | ||
| env: | ||
| NODE_AUTH_TOKEN: ${{ secrets.V3_NPM_TOKEN }} | ||
|
|
||
| - name: Install dependencies | ||
| run: pnpm install --filter "${{ matrix.scope }}..." --prod=false | ||
|
|
||
| - name: Build the package | ||
| run: pnpm --filter "${{ matrix.scope }}..." run build | ||
|
|
||
| - name: Publish to npm | ||
| working-directory: ${{ matrix.working-directory }} | ||
| run: npm publish --tag alpha --access public | ||
| env: | ||
| NODE_AUTH_TOKEN: ${{ secrets.V3_NPM_TOKEN }} |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 3 days ago
The best way to address this issue is to add a permissions block at the root level of the workflow file, specifying the minimal permissions required for this workflow to function. Since none of the jobs appear to modify contents or interact with issues/PRs, only contents: read is necessary. The addition should be made after the name field and before the on: field, applying to all jobs by default.
No code logic, methods, or imports are touched or needed for this fix; it's purely a YAML configuration change.
-
Copy modified lines R2-R3
| @@ -1,4 +1,6 @@ | ||
| name: Publish Hexabot V3 Alpha Packages | ||
| permissions: | ||
| contents: read | ||
|
|
||
| on: | ||
| push: |
…ago-unit-tests fix(api): add unit tests + JSDoc for aMonthAgo function
…asterisks fix(api): remove unnecessary JSDoc asterisks
…options fix(api): replace filters JSDoc prop by options + remove pageQuery prop
…aces fix(api): remove tags extra spaces
…-signup-public-endpoint fix(api): remove unused signup public endpoint + enhance unit tests
…11-20 fix(api): remove unused logic
…ield fix(api): revise DTO array fields decorators
Motivation
The following PR introduces major updates :
Todo
Type of change:
Please delete options that are not relevant.
Checklist: