Skip to content

Commit

Permalink
chore: Mergify now gently nudges folks who update RPC code to also up…
Browse files Browse the repository at this point in the history
…date the Rust and JavaScript clients (#1904)
  • Loading branch information
steveluscher authored Jun 29, 2024
1 parent 99b2d5a commit 672b093
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,21 @@ pull_request_rules:
into master and ride the normal stabilization schedule. Exceptions
include CI/metrics changes, CLI improvements and documentation
updates on a case by case basis.
- name: Reminder to update RPC clients for changes in `rpc/`
conditions:
- or:
- files~=^rpc/src/rpc\.rs$
- files~=^rpc/src/rpc_pubsub\.rs$
- files~=^rpc-client-api/src/.*\.rs$
actions:
comment:
message: |
If this PR represents a change to the public RPC API:
1. Make sure it includes a complementary update to `rpc-client/` ([example](https://github.com/solana-labs/solana/pull/29558/files))
2. Open a follow-up PR to update the JavaScript client `@solana/web3.js` ([example](https://github.com/solana-labs/solana-web3.js/pull/2868/files))
Thank you for keeping the RPC clients in sync with the server API @{{author}}.
commands_restrictions:
# The author of copied PRs is the Mergify user.
Expand Down

0 comments on commit 672b093

Please sign in to comment.