File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,18 @@ jobs:
2525 - name : Launch tests & generate report
2626 run : pytest
2727
28- - name : Launch the action
28+ - name : Coverage comment
29+ id : coverage_comment
2930 uses : ewjoachim/python-coverage-comment-action@v2
3031 with :
31- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32+ GITHUB_TOKEN : ${{ github.token }}
3233 VERBOSE : true
3334
3435 - name : Store Pull Request comment to be posted
3536 uses : actions/upload-artifact@v2
37+ if : steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == "true"
3638 with :
39+ # If you use a different name, update COMMENT_ARTIFACT_NAME accordingly
3740 name : python-coverage-comment-action
41+ # If you use a different name, update COMMENT_FILENAME accordingly
3842 path : python-coverage-comment-action.txt
You can’t perform that action at this time.
0 commit comments