Merge pull request #1368 from getagentseal/ci/pr-limit-five

ci: allow five open pull requests per contributor
This commit is contained in:
Resham Joshi 2026-09-14 12:52:59 +03:00 • committed by GitHub
commit fd0a7dd5b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
name: Limit open PRs per contributor
# A contributor may have at most three pull requests open at once. The fourth is
# A contributor may have at most five pull requests open at once. The sixth is
# closed with a note and can be reopened when one of the others lands or closes.
# Repository admins are exempt. Runs on pull_request_target so it can act on PRs
# from forks; it never checks out or runs the PR's code.
@ -19,7 +19,7 @@ jobs:
- uses: actions/github-script@v7
with:
script: |
const max = 3
const max = 5
const { owner, repo } = context.repo
const pr = context.payload.pull_request
const author = pr.user.login