Skip to content

Commit

Permalink
Merge-bot config: Extend message when paid; set amount tolerance to 9…
Browse files Browse the repository at this point in the history
…8%. (trustwallet#2036)

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

Co-authored-by: Catenocrypt <[email protected]>
  • Loading branch information
optout21 and Catenocrypt authored May 6, 2020
1 parent 027bc4b commit ebd402e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/merge-fee-bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ payments:
- amount: 1
token: BNB
address: bnb1tqq9llyr3dyjd559dha6z5r5etk3qfwk07m098
payment
# The tolerance for slightly lower amount, in percentage. Valid range: 95 -- 100
amountTolerancePct: 96
# Message templates
message:
initial: |
Expand All @@ -19,7 +22,12 @@ message:
* 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.
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.
reminder: |
$USER, kind reminder: please pay fee: **$PAY1_AMOUNT $PAY1_CURRENCY** with the memo **$PAY1_MEMO** to the address `$PAY1_ADDRESS`.
Expand Down

0 comments on commit ebd402e

Please sign in to comment.