Skip to content

Commit

Permalink
ci: remove unnecessary merge parameter in coverage comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick-Dayer committed Jul 11, 2024
1 parent 4fd9d0b commit 7838b23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}
MERGE_COVERAGE_FILES: true
# Update those if you changed the default values:
# COMMENT_ARTIFACT_NAME: python-coverage-comment-action
# COMMENT_FILENAME: python-coverage-comment-action.txt
8 changes: 4 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ name: Execute code tests
on:
push:
branches: [ "main" ]
tags: ["*"]
pull_request:
branches: [ "main" ]

permissions:
contents: read
Expand Down Expand Up @@ -60,11 +60,11 @@ jobs:
with:
pattern: coverage-*
merge-multiple: true
- name: Generate and try posting merged coverage comment
uses: py-cov-action/python-coverage-comment-action@v3
- name: Coverage comment
id: coverage_comment
uses: py-cov-action/python-coverage-comment-action@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
MERGE_COVERAGE_FILES: true
- name: Store Pull Request comment to be posted
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 7838b23

Please sign in to comment.