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 is a Gradle Plugin to parse, format, report Android Lint result back to Github Pull Request using Github Actions. This is targetted for someone who's doing Android Development and using Github who wants to run lint on their pull request.
7
+
This is a Gradle Plugin to report Android Lint and Detekt result back to Github Pull Request. This is targeted for someone who's doing Android Development and using Github who wants to run Android Lint and Detekt on their pull request.
8
+
(Currently, this plugin assumes the usage of both Android Lint and Detekt)
8
9
9
-
Here is how it works.
10
+
Here is how it works using Github Actions (it can be used in other CI as well).
10
11
11
12
<details>
12
13
<summary>
13
-
1.When a Pull Request is created:
14
+
( 1 ) When a Pull Request is created, a Github Actions will be triggered:
showLog = true // optional - default to false, show extra information, will slow things down
180
173
}
181
174
```
182
175
@@ -196,10 +189,12 @@ Download Intellij Community Edition for free and open this project.
196
189
197
190
**Setup Github Personal Access Token(PAT)**
198
191
199
-
Prepare a file `local.properties` in the root directory of this project, with the following content:
192
+
Prepare a file `local.properties`based on [local.properties.TEMPLATE](https://github.com/worker8/AndroidLintReporter/blob/master/local.properties.TEMPLATE)in the root directory of this project, with the following content:
200
193
201
194
```
202
-
github_token="<obtain your personall access token from Github"
195
+
github_token=<replace with your Github Personal Access Token (PAT)>
196
+
github_owner=<replace with your Github Owner Name>
197
+
github_repository=<replace with your Github Repository Name>
203
198
```
204
199
205
200
You can test your Github API using your PAT using cURL:
0 commit comments