com karma: add PHP-7.0 and PHP-7.1 to the protected branches so only RMs can force push there: hooks/pre-receive
| From: | Ferenc Kovacs | Date: | Thu, 12 Jan 2017 16:11:31 +0000 |
| Subject: | com karma: add PHP-7.0 and PHP-7.1 to the protected branches so only RMs can force push there: hooks/pre-receive | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96695@lists.php.net to get a copy of this message | ||
Commit: 51174a6b4c43dfb9649d15e6bc709a80a4d1733c
Author: Ferenc Kovacs <tyra3l@gmail.com> Thu, 12 Jan 2017 17:11:31 +0100
Parents: 11b31a1e37ee05e6cf8d5cfd1c688235c166062e
Branches: master
Link: http://git.php.net/?p=karma.git;a=commitdiff;h=51174a6b4c43dfb9649d15e6bc709a80a4d1733c
Log:
add PHP-7.0 and PHP-7.1 to the protected branches so only RMs can force push there
Changed paths:
M hooks/pre-receive
Diff:
diff --git a/hooks/pre-receive b/hooks/pre-receive
index fdff955..ae21c8c 100755
--- a/hooks/pre-receive
+++ b/hooks/pre-receive
@@ -26,7 +26,7 @@ include 'Git/PreReceiveHook.php';
$weKnowWhatWeAreDoing = ['dsp', 'johannes', 'tyrael'];
// On restricted branches forced pushes are only possible by users listed in $weKnowWhatWeAreDoing
$restrictedBranches =
- ['php-src.git' => ['refs/heads/PHP-5.4', 'refs/heads/PHP-5.3',
'refs/heads/PHP-5.5', 'refs/heads/PHP-5.6', 'refs/heads/master'],
+ ['php-src.git' => ['refs/heads/PHP-5.4', 'refs/heads/PHP-5.3',
'refs/heads/PHP-5.5', 'refs/heads/PHP-5.6', 'refs/heads/PHP-7.0',
'refs/heads/PHP-7.1', 'refs/heads/master'],
'playground.git' => ['refs/heads/dsp']];
// On closed branches only RMs may push
$closedBranches = [