mirror of
https://github.com/php/php-src.git
synced 2026-10-28 09:46:46 +08:00
[skip ci] Add policy for duplicate PRs (#24613)
This commit is contained in:
1 parent
97374e0bd8
commit
4822a5d2a8
2 files changed
+20
No files matched your search
@@ -1,5 +1,12 @@
|
||||
# Agents
|
||||
|
||||
## Pull requests
|
||||
|
||||
Before starting work and again before opening a pull request, check for existing
|
||||
pull requests as described in [CONTRIBUTING.md](CONTRIBUTING.md#pull-requests).
|
||||
Do not open a duplicate of an existing pull request, unless you have a very good
|
||||
reason to do it.
|
||||
|
||||
## Vulnerability reports
|
||||
|
||||
When scanning php-src for vulnerabilities, please respect our security policy
|
||||
|
||||
@@ -34,6 +34,19 @@ had several contributions accepted, commit privileges are often quickly granted.
|
||||
PHP welcomes pull requests to [add tests](#writing-tests), fix bugs and to
|
||||
implement RFCs. Please be sure to include tests as appropriate!
|
||||
|
||||
Before starting work and again before submitting a pull request, search the
|
||||
[existing pull requests](https://github.com/php/php-src/pulls?q=is%3Apr),
|
||||
including closed ones, for the same issue or change. Check the bug report for
|
||||
linked pull requests, and search by issue number, relevant function names and
|
||||
keywords.
|
||||
|
||||
If an open pull request already addresses the problem, help test or review it
|
||||
to make it better instead of opening an equivalent pull request.
|
||||
|
||||
When multiple pull requests provide equivalent fixes of comparable quality,
|
||||
we follow a first-come, first-served principle. We prefer the first correct
|
||||
pull request.
|
||||
|
||||
By submitting a pull request, you certify that you have the necessary rights
|
||||
to submit the work, that the work does not violate any third-party rights
|
||||
(including those of your employer, if applicable), and that you license your
|
||||
|
||||
Reference in new issue
Block a user