Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Increase PR count for PR limit bot reminder to 5 (#4698)

Madison Swain-Bowden09dd0267886a
diff --git a/.github/workflows/pr_limit_reminders.yml b/.github/workflows/pr_limit_reminders.yml
index 325fd9b06..530809568 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/[email protected]
@@ -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"
}