File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 44 github_token :
55 description : ' The GitHub token'
66 required : true
7- one_comment :
8- description : ' Duplication report will be left as a single comment, which will be updated, instead of multiple ones'
9- required : false
10- default : false
117 directories :
128 description : ' A comma-separated list of the directories containing the source code'
139 required : true
@@ -39,6 +35,10 @@ inputs:
3935 description : " Removes comments and docstrings from the source code before analysis"
4036 required : false
4137 default : false
38+ one_comment :
39+ description : ' Duplication report will be left as a single comment, which will be updated, instead of multiple ones'
40+ required : false
41+ default : false
4242runs :
4343 using : ' docker'
4444 image : ' Dockerfile'
Original file line number Diff line number Diff line change @@ -206,9 +206,9 @@ def main():
206206 print (
207207 "Updating existing comment failed with code: "
208208 + str (update_result .status_code )
209- + ". Attempting to leave new comment instead."
210209 )
211210 print (update_result .text )
211+ print ("Attempting to post a new comment instead" )
212212 else :
213213 comment_updated = True
214214 break
You can’t perform that action at this time.
0 commit comments