mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 10:43:47 +00:00
Merge pull request #1368 from getagentseal/ci/pr-limit-five
ci: allow five open pull requests per contributor
This commit is contained in:
commit
fd0a7dd5b3
1 changed files with 2 additions and 2 deletions
4
.github/workflows/pr-limit.yml
vendored
4
.github/workflows/pr-limit.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue