Skip to content

Commit 1496f89

Browse files
committed
rename
1 parent 2424283 commit 1496f89

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/scripts/pr-triage/comment_command.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818

1919
COMMANDS = {
20-
"/run-spotless": "run_spotless",
21-
"/fix-ci": "fix_ci",
22-
"/resolve-conflicts": "resolve_conflicts",
20+
"/spotless": "spotless",
21+
"/fix": "fix",
22+
"/update-branch": "update_branch",
2323
"/review": "review",
2424
}
2525
OUTPUT_LIMIT = 6000
@@ -120,12 +120,12 @@ def output_file() -> Path:
120120

121121

122122
def command_args(command: str) -> list[str]:
123-
if command == "run_spotless":
124-
return [sys.executable, ".github/scripts/pr-triage/run_spotless.py", pr_number()]
125-
if command == "fix_ci":
126-
return [sys.executable, ".github/scripts/pr-triage/fix_ci.py", pr_number()]
127-
if command == "resolve_conflicts":
128-
return [sys.executable, ".github/scripts/pr-triage/resolve_conflicts.py", pr_number()]
123+
if command == "spotless":
124+
return [sys.executable, ".github/scripts/pr-triage/spotless.py", pr_number()]
125+
if command == "fix":
126+
return [sys.executable, ".github/scripts/pr-triage/fix.py", pr_number()]
127+
if command == "update_branch":
128+
return [sys.executable, ".github/scripts/pr-triage/update_branch.py", pr_number()]
129129
if command == "review":
130130
return [sys.executable, ".github/scripts/pr-triage/review.py", pr_number()]
131131
raise RuntimeError(f"Unknown command: {command}")
File renamed without changes.

0 commit comments

Comments
 (0)