Skip to content

Commit

Permalink
Increase PR count for PR limit bot reminder to 5 (#4698)
Browse files Browse the repository at this point in the history
  • Loading branch information
AetherUnbound authored Aug 2, 2024
1 parent 43aac27 commit 09dd026
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr_limit_reminders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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"
}

0 comments on commit 09dd026

Please sign in to comment.