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
* use header's accept for REST API calls
* also fix some spelling errors
* reduce 3 lines to 1; invoke test in demo
* get event payload for any supported event
* don't delete comments from the response buffer
* skip removing thread comments if none found
* try requesting with the accepted format in the header
* try using token in the header
* Update `version` in README.md (#43)
* [feat] Add the ability to specify the compilation database (#42)
* add database option
* fix existing typos
* use header's accept for REST API calls
* also fix some spelling errors
* reduce 3 lines to 1; invoke test in demo
* get event payload for any supported event
* don't delete comments from the response buffer
* skip removing thread comments if none found
* try requesting with the accepted format in the header
* try using token in the header
* force thread comments disabled on private repos
* private flag in the header is a bool, not str
* Pleasing pylint
* remove duplicated fix
* update README about private repos needing a token
Co-authored-by: 2bndy5 <2bndy5@gmail.com>
Co-authored-by: Peter Shen <xianpeng.shen@gmail.com>
Co-authored-by: Xuefeng Ding <xuefeng.ding.physics@gmail.com>
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,7 @@ jobs:
92
92
93
93
-**Description**: Set this option to false to analyze any source files in the repo.
94
94
- Default: true
95
+
- NOTE: The `GITHUB_TOKEN` should be supplied when running on a private repository with this option enabled, otherwise the runner does not not have the privilege to list changed files for an event. See [Authenticating with the GITHUB_TOKEN](https://docs.github.com/en/actions/reference/authentication-in-a-workflow)
95
96
96
97
#### `ignore`
97
98
@@ -115,6 +116,7 @@ jobs:
115
116
- To use thread comments, the `GITHUB_TOKEN` (provided by Github to each repository) must be declared as an environment
116
117
variable. See [Authenticating with the GITHUB_TOKEN](https://docs.github.com/en/actions/reference/authentication-in-a-workflow)
117
118
- Default: true
119
+
- NOTE: If run on a private repository, then this feature is disabled because the GitHub REST API behaves differently for thread comments on a private repository.
0 commit comments