Skip to content

Commit 9ac5a11

Browse files
authored
Update ci.yml
1 parent 095e397 commit 9ac5a11

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)