Skip to content

add pr limits#298

Merged
peterj merged 2 commits intomainfrom
peterj/prlimits
Mar 6, 2026
Merged

add pr limits#298
peterj merged 2 commits intomainfrom
peterj/prlimits

Conversation

@peterj
Copy link
Copy Markdown
Contributor

@peterj peterj commented Mar 6, 2026

Description

adds a comment to the PR if the user has more than 3 PR's opened at one time.

Change Type

/kind fix

Changelog

NONE

Signed-off-by: Peter Jausovec <[email protected]>
Copilot AI review requested due to automatic review settings March 6, 2026 19:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a GitHub Actions workflow to enforce a soft limit on how many pull requests a single author can keep open simultaneously, by posting a comment when the limit is exceeded.

Changes:

  • Introduces a new PR Limiter workflow triggered on pull_request_target events.
  • Uses Homebrew/actions/limit-pull-requests to comment when an author exceeds the configured open-PR limit.
  • Exempts org-level trusted associations (MEMBER/OWNER/COLLABORATOR) from the limit.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Peter Jausovec <[email protected]>
@peterj peterj force-pushed the peterj/prlimits branch from 0ef53f9 to de4c15f Compare March 6, 2026 19:57
@peterj peterj added this pull request to the merge queue Mar 6, 2026
Merged via the queue into main with commit 823c040 Mar 6, 2026
6 checks passed
@peterj peterj deleted the peterj/prlimits branch March 6, 2026 20:17
christian-posta pushed a commit to christian-posta/agentregistry that referenced this pull request Mar 9, 2026
# Description

adds a comment to the PR if the user has more than 3 PR's opened at one
time.

# Change Type

```
/kind fix
```

# Changelog


```release-note
NONE
```

---------

Signed-off-by: Peter Jausovec <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants