Skip to content

chore: git action to push to main + docs#2378

Merged
arcoraven merged 2 commits into
developfrom
ph/force-push-git-action
Jul 23, 2025
Merged

chore: git action to push to main + docs#2378
arcoraven merged 2 commits into
developfrom
ph/force-push-git-action

Conversation

@arcoraven
Copy link
Copy Markdown
Contributor

@arcoraven arcoraven commented Jul 23, 2025

Summary by CodeRabbit

  • Chores
    • Added a new workflow to manually push updates from the develop branch to the main and docs branches.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
web3-onboard-docs 🛑 Canceled (Inspect) Jul 23, 2025 6:09am

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jul 23, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

A new GitHub Actions workflow file has been introduced. This workflow is manually triggered and automates the process of force pushing the develop branch to both the main and docs branches using a GitHub App token for authentication.

Changes

File(s) Change Summary
.github/workflows/push-to-prod.yml Added new workflow for manual, token-authenticated force pushing of develop to main and docs branches.

Sequence Diagram(s)

sequenceDiagram
    actor User
    participant GitHub Actions Runner
    participant GitHub API

    User->>GitHub Actions Runner: Manually trigger workflow
    GitHub Actions Runner->>GitHub Actions Runner: Checkout develop branch
    GitHub Actions Runner->>GitHub API: Generate App token (using app ID & private key)
    GitHub Actions Runner->>GitHub API: Force push develop to main
    GitHub Actions Runner->>GitHub API: Force push develop to docs
Loading

Estimated code review effort

1 (~2 minutes)


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a344864 and 19cf6ba.

📒 Files selected for processing (1)
  • .github/workflows/push-to-prod.yml (1 hunks)

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@arcoraven arcoraven merged commit 0e1e2a3 into develop Jul 23, 2025
4 of 5 checks passed
@arcoraven arcoraven deleted the ph/force-push-git-action branch July 23, 2025 04:41
joaquim-verges added a commit that referenced this pull request Oct 9, 2025
* Setting up GitHub CI for packages

* Pin github ci version

* update node version for all packages (#2367)

* update node version for all packages

* update

* chore: optimize onekey logo (#2369)

* fix: revert @web3-onboard/para in docs to 1.0.0 (#2372)

* fix: revert @web3-onboard/para in docs to 1.0.0

* add missing thirdweb icon

* Chore: update git pages action (#2375)

* fix: revert @web3-onboard/para in docs to 1.0.0

* chore: update git pages

* remove auto trigger

* rename blocknative URLs to thirdweb

* chore: git action to push to main + docs (#2378)

* chore: git action to push to main + docs

* lint

* chore: fix footer size/colors (#2379)

* chore: fix footer size/colors

* remove push to prod action

* chore: remove blocknative links from header (#2381)

* chore: upgrade WalletConnect dependencies (#2385)

* chore: upgrade WalletConnect dependencies

* chore: upgrade version

* bump version

---------

Co-authored-by: Joaquim Verges <joaquim.verges@gmail.com>

---------

Co-authored-by: Jake Loo <2171134+jakeloo@users.noreply.github.com>
Co-authored-by: ByteZhang <ByteZhang@protonmail.com>
Co-authored-by: Phillip Ho <arcoraven@gmail.com>
Co-authored-by: Derek <alexanderderekrein@gmail.com>
0xFirekeeper added a commit that referenced this pull request May 25, 2026
* Setting up GitHub CI for packages

* Pin github ci version

* update node version for all packages (#2367)

* update node version for all packages

* update

* chore: optimize onekey logo (#2369)

* fix: revert @web3-onboard/para in docs to 1.0.0 (#2372)

* fix: revert @web3-onboard/para in docs to 1.0.0

* add missing thirdweb icon

* Chore: update git pages action (#2375)

* fix: revert @web3-onboard/para in docs to 1.0.0

* chore: update git pages

* remove auto trigger

* rename blocknative URLs to thirdweb

* chore: git action to push to main + docs (#2378)

* chore: git action to push to main + docs

* lint

* chore: fix footer size/colors (#2379)

* chore: fix footer size/colors

* remove push to prod action

* chore: remove blocknative links from header (#2381)

* chore: upgrade WalletConnect dependencies (#2385)

* chore: upgrade WalletConnect dependencies

* chore: upgrade version

* bump version

---------

Co-authored-by: Joaquim Verges <joaquim.verges@gmail.com>

* Migrate to @metamask/connect-evm (#2390)

* Migrate to @metamask/connect-evm

Swap out the legacy @metamask/sdk for the new @metamask/connect-evm client and update package metadata (version bump to 2.3.0). Code changes load connect-evm (handling ESM/CJS shapes), reuse a single client instance, attach a disconnect shim to the provider, and map legacy MetaMask SDK options to the new connect-evm option shape (including Infura/custom RPC merging via getInfuraRpcUrls). README updated to reflect the Connect EVM integration and backwards compatibility notes; package.json dependency updated accordingly.

* metamask: add chain RPC fallback & options

Bump @web3-onboard/metamask to v2.4.0 and enhance SDK initialization.

- Add a fallback Mainnet RPC and ensure api.supportedNetworks is always non-empty by deriving RPCs in priority order: Infura, readonlyRPCMap, web3-onboard chains, then public fallback.
- Accept and normalize web3-onboard chains (toHexChainId + chainsToRpcMap) and thread them into getInterface/mapLegacyOptions so the client can use configured chains.
- Improve dynamic import caching with retry semantics to avoid permanently failing on transient import errors.
- Add showInstallModal option (defaults to false) and update legacy options handling (extensionOnly only maps to preferExtension when true; headless preserved).
- Minor README formatting and example tweaks.

* metamask: forward icon URL & normalize RPC keys

Handle dapp icon metadata more safely and normalize readonly RPC keys. Forward http(s) icon URLs to @metamask/connect-evm instead of always base64-encoding app icons (only pass base64Icon when explicitly provided) to avoid overflowing QR/deeplink payloads. Added isHttpUrl and icon selection logic so raw SVG strings are dropped and a fallback URL may be used. Introduced normalizeReadonlyRPCMap to convert readonlyRPCMap keys to hex and ignore invalid IDs, and merged the normalized readonly RPCs after chain-derived RPCs (priority: Infura → chains → readonlyRPCMap → fallback). Documented showInstallModal and clarified extensionOnly behavior in the README, and bumped @metamask/connect-evm to ^1.3.1 in package.json.

* ver

---------

Co-authored-by: Jake Loo <2171134+jakeloo@users.noreply.github.com>
Co-authored-by: Joaquim Verges <joaquim.verges@gmail.com>
Co-authored-by: ByteZhang <ByteZhang@protonmail.com>
Co-authored-by: Phillip Ho <arcoraven@gmail.com>
Co-authored-by: Derek <alexanderderekrein@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant