You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Python script allows you to automatically review all pull requests in a specified GitHub repository.
4
+
5
+
## Prerequisites
6
+
7
+
Before you can use this script, ensure you have the following:
8
+
9
+
- Python installed on your system.
10
+
- The `selenium` Python package. You can install it using `pip`:
11
+
12
+
```
13
+
pip install selenium
14
+
```
15
+
16
+
- [GeckoDriver](https://github.com/mozilla/geckodriver) for Firefox. Make sure to download the correct version for your system. Or you can replace `FireFox()` with your own webdriver
17
+
18
+
- A GitHub account with the necessary access rights to review pull requests in the target repository.
19
+
20
+
## Usage
21
+
22
+
1. Clone or download this repository to your local machine.
23
+
24
+
2. Open the script `github_pull_request_review.py` in a text editor or Python IDE.
self.driver.find_element(by=By.ID, value="pull_request_review_body").send_keys(random.choice(["LGTM", "Looks good to me", "LGTM, thanks for the contribution", "Seems good to me!"]))
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,8 @@ So far, the following projects have been integrated to this repo:
75
75
|[Frammed text generator](FramedText)|[jcdwalle](https://github.com/jcdwalle)|
76
76
|[Get Time By TimeZone](https://github.com/hastagAB/Awesome-Python-Scripts/tree/master/Get_Time_TimezoneWise)|[Parth Shah](https://github.com/codingis4noobs)|
0 commit comments