From e4a2904dc02d80c003c7366e8a24debd4883d78b Mon Sep 17 00:00:00 2001 From: Adam R <13562139+catenocrypt@users.noreply.github.com> Date: Mon, 20 Apr 2020 23:43:14 +0200 Subject: [PATCH] Merge-fee-bot config for auto close. (#1935) Co-authored-by: Catenocrypt --- .github/merge-fee-bot.yaml | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/.github/merge-fee-bot.yaml b/.github/merge-fee-bot.yaml index e63cb99b4..136d8127c 100644 --- a/.github/merge-fee-bot.yaml +++ b/.github/merge-fee-bot.yaml @@ -8,19 +8,22 @@ payments: address: bnb1tqq9llyr3dyjd559dha6z5r5etk3qfwk07m098 # Message templates message: - initial: | - Hi! In order to compensate for the efforts of processing PRs, we kindly ask for a contribution. - See the [Pull Request Fee FAQ](https://developer.trustwallet.com/add_new_asset/pr-fee). - \nPlease pay **$PAY1_AMOUNT $PAY1_CURRENCY** with the memo **$PAY1_MEMO** to the address `$PAY1_ADDRESS`. - Alternatively, 0.5 BNB is also accepted (same memo & address). - \n$QR1_SIMPLE - \n*Notes*: - * Trust Wallet Tokens (TWT) are distributed to new users through our [Referral Program](https://community.trustwallet.com/t/invite-a-friend-earn-trust-wallet-token-twt/4125). - * 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 - reviewed: Review is not needed any more, no more fee required. + initial: | + Hi! In order to compensate for the efforts of processing PRs, we kindly ask for a contribution. + See the [Pull Request Fee FAQ](https://developer.trustwallet.com/add_new_asset/pr-fee). + \nPlease pay **$PAY1_AMOUNT $PAY1_CURRENCY** with the memo **$PAY1_MEMO** to the address `$PAY1_ADDRESS`. + Alternatively, 0.5 BNB is also accepted (same memo & address). + \n$QR1_SIMPLE + \n*Notes*: + * Trust Wallet Tokens (TWT) are distributed to new users through our [Referral Program](https://community.trustwallet.com/t/invite-a-friend-earn-trust-wallet-token-twt/4125). + * 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 + reviewed: Review is not needed any more, no more fee required. + oldClosing: Maximum PR age reached, auto-closing PR label: requested: 'Payment Status: Requested' paid: 'Payment Status: Paid' +timeout: + maxAgeHours: 72