Skip to content

Commit

Permalink
bugfix: updated logic to not double include.
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchyn committed Nov 6, 2024
1 parent fd3ed5d commit 0dbb222
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Messages.staging.toml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ message = [
[error_selfscore_messages]
variables = []
message = ["""### ❌ Self-scoring is not permitted.
Let's keep it fair! 👍"""]
Ask your peers to review and score your contributions!"""]

[error_org_not_in_allowed_list_messages]
variables = ["form", "link", "leaderboard_link", "pr_author_username"]
Expand Down
2 changes: 1 addition & 1 deletion Messages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ message = [
[error_selfscore_messages]
variables = []
message = ["""### ❌ Self-scoring is not permitted.
Let's keep it fair! 👍"""]
Ask your peers to review and score your contributions!"""]

[error_org_not_in_allowed_list_messages]
variables = ["form", "link", "leaderboard_link", "pr_author_username"]
Expand Down
1 change: 1 addition & 0 deletions bot/src/events/pr_commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ impl Command {
) -> anyhow::Result<EventResult> {
if check_info.new_repo {
context.add_repo(&pr.repo_info).await?;
check_info.new_repo = false;
}

if check_info.blocked_repo {
Expand Down

0 comments on commit 0dbb222

Please sign in to comment.