Skip to content

Commit

Permalink
Disable coverage comment for now and revert to pull_request
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhnroyal committed Apr 4, 2024
1 parent d5795dc commit 7d7cade
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- '6.0.0'
paths-ignore:
- "**.md"
pull_request_target:
pull_request:
branches:
- main
- '6.0.0'
Expand Down Expand Up @@ -104,10 +104,10 @@ jobs:
with:
artifact_download_workflow_names: 'Verify packages abilities,coverage_baseline'
filename: 'coverage/cobertura.xml'
- name: '[Coverage] Add PR comment'
uses: marocchino/sticky-pull-request-comment@v2
#Make sure the report was generated and that the event is actually a pull request, run if failed or success
if: ${{ matrix.sdk == 'stable' && github.actor != 'dependabot[bot]' && steps.code_coverage_report.outputs.file != '' && (github.event_name == 'pull_request' || github.event_name == 'pull_request_target') && (success() || failure()) }}
with:
recreate: true
path: code-coverage-results.md
# - name: '[Coverage] Add PR comment'
# uses: marocchino/sticky-pull-request-comment@v2
# #Make sure the report was generated and that the event is actually a pull request, run if failed or success
# if: ${{ matrix.sdk == 'stable' && github.actor != 'dependabot[bot]' && steps.code_coverage_report.outputs.file != '' && (github.event_name == 'pull_request' || github.event_name == 'pull_request_target') && (success() || failure()) }}
# with:
# recreate: true
# path: code-coverage-results.md

0 comments on commit 7d7cade

Please sign in to comment.