forked from diem/diem
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (29 loc) · 1.08 KB
/
jsonrpc-compat.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: JSON-RPC Compat Warning
on:
pull_request:
types: [opened, synchronized]
paths: ["json-rpc/**.rs"]
jobs:
warn-about-compat-requirements:
runs-on: ubuntu-latest
name: Warn PR author about compatibility requirements
steps:
- name: checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: comment
uses: diem/actions/comment@faa14430e68d54a269628f385e69a207e4e413d5
with:
comment: |
**This PR may have modified JSON-RPC server code.**
Breaking changes policy:
1. Chaning JSON-RPC method signatures or removing/modifying fields
in the response in /V1 will not be accepted.
2. Adding fields is ok.
3. Adding a new JSON-RPC method is ok.
Please ensure you have also done the following to update the docs:
1. Update json-rpc/API-CHANGELOG.md.
2. Add/update type/method documentation under json-rpc/docs.
tag: jsonrpc-compat
delete-older: true