Skip to content

Commit

Permalink
chore: rm github actions coverage comment as it does not work securel…
Browse files Browse the repository at this point in the history
…y with forks (#1224)
  • Loading branch information
latonz authored Apr 9, 2024
1 parent 5493160 commit b9ebc7f
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: test

on:
workflow_call:
workflow_dispatch:
pull_request_target:
pull_request:
branches:
- '**'
push:
Expand All @@ -25,9 +24,6 @@ env:
jobs:
test:
runs-on: ubuntu-latest
permissions:
# needed to write the coverage PR comment
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
Expand All @@ -44,15 +40,8 @@ jobs:
if: ${{ github.actor != 'dependabot[bot]'}}
with:
filename: 'Cobertura.xml'
fail_on_negative_difference: true
negative_difference_threshold: 5
overall_coverage_fail_threshold: 75
retention_days: 35
- uses: marocchino/sticky-pull-request-comment@v2
if: steps.code_coverage_report_action.outputs.file != '' && github.event_name == 'pull_request_target' && (success() || failure())
with:
recreate: true
path: code-coverage-results.md
package:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit b9ebc7f

Please sign in to comment.