Merge-bot config: Extend message when paid; set amount tolerance to 98%. (#2036)

* Merge-bot config: Extend message when paid; set amount tolerance to 98%.
* Extra newline in message.
* Use 96% tolerance.

Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
This commit is contained in:
Adam R 2020-05-06 23:35:51 +02:00 committed by GitHub
parent 027bc4b9ba
commit ebd402e72d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,9 @@ payments:
- amount: 1 - amount: 1
token: BNB token: BNB
address: bnb1tqq9llyr3dyjd559dha6z5r5etk3qfwk07m098 address: bnb1tqq9llyr3dyjd559dha6z5r5etk3qfwk07m098
payment
# The tolerance for slightly lower amount, in percentage. Valid range: 95 -- 100
amountTolerancePct: 96
# Message templates # Message templates
message: message:
initial: | initial: |
@ -19,7 +22,12 @@ message:
* Payment evaluation happens when there is activity on the PR -- write a comment if you have performed the payment. * Payment evaluation happens when there is activity on the PR -- write a comment if you have performed the payment.
* When payment is detected, an Accept Review is automatically placed on the PR, which is a condition for merge. The merge is still done manually. * When payment is detected, an Accept Review is automatically placed on the PR, which is a condition for merge. The merge is still done manually.
notReceived: Fee has not been received yet in full.\n\n$TX_LIST notReceived: Fee has not been received yet in full.\n\n$TX_LIST
received: Fee payment received, thanks! \n\n$PAID_AMOUNT $PAID_CURRENCY\n\n$TX_LIST received: |
Fee payment received, thanks!
\nThe PR will be merged soon by a maintainer, and then new/updated logos should be visible in Trust Wallet.
Please note that the app caches logos for several days, so if you want to see changes immediately, use a new device, or reinstall Trust Wallet (make sure you have a backup of all your wallets first!). See the [assets FAQ](https://github.com/trustwallet/assets#faq).
\n$PAID_AMOUNT $PAID_CURRENCY
\n$TX_LIST
reviewed: Review is not needed any more, no more fee required. reviewed: Review is not needed any more, no more fee required.
reminder: | reminder: |
$USER, kind reminder: please pay fee: **$PAY1_AMOUNT $PAY1_CURRENCY** with the memo **$PAY1_MEMO** to the address `$PAY1_ADDRESS`. $USER, kind reminder: please pay fee: **$PAY1_AMOUNT $PAY1_CURRENCY** with the memo **$PAY1_MEMO** to the address `$PAY1_ADDRESS`.