We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
wp maintenance contrib-list
1 parent 049cede commit 5bde32bCopy full SHA for 5bde32b
1 file changed
.maintenance/src/Contrib_List_Command.php
@@ -33,10 +33,12 @@ final class Contrib_List_Command {
33
* @when before_wp_load
34
*/
35
public function __invoke( $args, $assoc_args ) {
36
+ $repos = null;
37
+ $use_bundle = false;
38
- $repos = null;
- $milestone_names = null;
39
- $use_bundle = false;
+ $ignored_contributors = [
40
+ 'github-actions[bot]',
41
+ ];
42
43
if ( count( $args ) > 0 ) {
44
$repos = [ array_shift( $args ) ];
@@ -196,6 +198,8 @@ function ( $a, $b ) {
196
198
}
197
199
200
201
+ $contributors = array_diff( $contributors, $ignored_contributors );
202
+
203
WP_CLI::log( 'Total contributors: ' . count( $contributors ) );
204
WP_CLI::log( 'Total pull requests: ' . $pull_request_count );
205
0 commit comments