This commit is contained in:
Peder Bergebakken Sundt 2023-10-21 11:23:45 +02:00
parent 932cb717e4
commit 001325bdd6
1 changed files with 5 additions and 3 deletions

View File

@ -12,19 +12,21 @@
mkFilter = title: filters: { inherit title filters; }; mkFilter = title: filters: { inherit title filters; };
in ymlFmt.generate "gh-dash-config.yml" { in ymlFmt.generate "gh-dash-config.yml" {
prSections = [ prSections = [
(mkFilter "My Pulls" (mkFilter "My PRs"
"is:open author:@me") "is:open author:@me")
(mkFilter "Needs Review" (mkFilter "Review Requested"
"is:open review-requested:@me") "is:open review-requested:@me")
(mkFilter "Involved" (mkFilter "Involved"
"is:open involves:@me -author:@me") "is:open involves:@me -author:@me")
(mkFilter "Community Reviewed PRs"
''is:open is:open label:"12.approvals: 3+","12.approvals: 2","12.approved-by: package-maintainer"'')
(mkFilter "First-time Py PRs" (mkFilter "First-time Py PRs"
"is:open repo:nixos/nixpkgs label:\"6.topic: python\" comments:<8 draft:false label:\"12. first-time contribution\"") "is:open repo:nixos/nixpkgs label:\"6.topic: python\" comments:<8 draft:false label:\"12. first-time contribution\"")
(mkFilter "Silent Py PRs" (mkFilter "Silent Py PRs"
"is:open repo:nixos/nixpkgs label:\"6.topic: python\" -author:r-ryantm -author:fabaff draft:false review:none comments:<2") "is:open repo:nixos/nixpkgs label:\"6.topic: python\" -author:r-ryantm -author:fabaff draft:false review:none comments:<2")
(mkFilter "Silent first-time PRs" (mkFilter "Silent first-time PRs"
"is:open repo:nixos/nixpkgs draft:false label:\"12. first-time contribution\" comments:<2") "is:open repo:nixos/nixpkgs draft:false label:\"12. first-time contribution\" comments:<2")
(mkFilter "Nix Friends" (mkFilter "Friends"
"is:open repo:nixos/nixpkgs author:dali99 author:h7x4 author:felixalbrigtsen") "is:open repo:nixos/nixpkgs author:dali99 author:h7x4 author:felixalbrigtsen")
]; ];
issuesSections = [ issuesSections = [