Skip to content

Commit

Permalink
Merge pull request #29 from Chia-Network/change-test-repo
Browse files Browse the repository at this point in the history
Add more logging and change over to a new testing repo
  • Loading branch information
pmaslana authored Jun 25, 2024
2 parents a5b16e1 + f8ee348 commit d964bd0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions internal/github/communityPRs.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"context"
"fmt"

"github.com/chia-network/go-modules/pkg/slogs"
"github.com/google/go-github/v60/github"

"github.com/chia-network/github-bot/internal/config"
Expand Down Expand Up @@ -37,7 +38,10 @@ func FindCommunityPRs(cfg *config.Config, teamMembers map[string]bool, githubCli
}
user := *pullRequest.User.Login
if !teamMembers[user] && !cfg.SkipUsersMap[user] {
slogs.Logr.Info("Pull request meets criteria, adding to final list", "PR", pullRequest.GetHTMLURL(), "user", user)
finalPRs = append(finalPRs, pullRequest)
} else {
slogs.Logr.Info("Pull request does not meet criteria, skipping", "PR", pullRequest.GetHTMLURL(), "user", user)
}
}

Expand Down
2 changes: 1 addition & 1 deletion k8s/notify-pending-prs.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ secretFile:
minimum_number: 17788
- name: "Chia-Network/chia-blockchain-gui"
minimum_number: 2300
- name: "pattesting1/bot-testing"
- name: "pmaslana/testing-bots"
minimum_number: 0
skip_users:
- "dependabot[bot]"
Expand Down
2 changes: 1 addition & 1 deletion k8s/notify-stale-prs.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ secretFile:
minimum_number: 17788
- name: "Chia-Network/chia-blockchain-gui"
minimum_number: 2300
- name: "pattesting1/bot-testing"
- name: "pmaslana/testing-bots"
minimum_number: 0
skip_users:
- "dependabot[bot]"
Expand Down

0 comments on commit d964bd0

Please sign in to comment.