From 09dd0267886ae15b53c8b8518be01aaf5d63368d Mon Sep 17 00:00:00 2001 From: Madison Swain-Bowden Date: Fri, 2 Aug 2024 11:21:23 -0700 Subject: [PATCH] Increase PR count for PR limit bot reminder to 5 (#4698) --- .github/workflows/pr_limit_reminders.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr_limit_reminders.yml b/.github/workflows/pr_limit_reminders.yml index 325fd9b0699..53080956812 100644 --- a/.github/workflows/pr_limit_reminders.yml +++ b/.github/workflows/pr_limit_reminders.yml @@ -28,7 +28,7 @@ jobs: send_message: needs: analyze-user-prs name: Send Slack message - if: needs.analyze-user-prs.outputs.pr_count >= 3 + if: needs.analyze-user-prs.outputs.pr_count >= 5 runs-on: ubuntu-latest env: pr_count: ${{ needs.analyze-user-prs.outputs.pr_count }} @@ -38,7 +38,7 @@ jobs: steps: - name: Set required review count run: | - echo "required_review_count=$(( pr_count * 2 ))" >> "$GITHUB_ENV" + echo "required_review_count=$(( pr_count * 1 ))" >> "$GITHUB_ENV" - name: Send notification id: slack uses: slackapi/slack-github-action@v1.26.0 @@ -49,5 +49,5 @@ jobs: payload: | { "user": "${{ env.slack_id }}", - "message": "Hi, Opener! \n You currently have ${{ env.pr_count }} Pull Request(s) open with requested reviews (totalling ${{ env.required_review_count }} required reviews). \n To help ease the review burden, increase review velocity for older PRs, and improve the equitable distribution of project maintenance tasks across the team, please consider reviewing this list of ways to contribute instead of working on new code contributions: \n https://docs.openverse.org/meta/maintainer_tasks.html" + "message": "Hi, Opener! \n You currently have ${{ env.pr_count }} Pull Request(s) open with requested reviews (totalling at least ${{ env.required_review_count }} required reviews). \n To help ease the review burden, increase review velocity for older PRs, and improve the equitable distribution of project maintenance tasks across the team, please consider reviewing this list of ways to contribute instead of working on new code contributions: \n https://docs.openverse.org/meta/maintainer_tasks.html" }