Skip to content

Commit

Permalink
Fix publish-pr-test-coverage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mhartkorn committed Feb 3, 2025
1 parent e882217 commit ebe32cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish-pr-test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ env:
jobs:
add-coverage:
runs-on: ubuntu-latest
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
if: github.event.workflow_run.conclusion == 'success'
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: Coverage Report
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GITHUB_TOKEN }}
path: coverage-results

- name: Create a status check for the code coverage results
id: dotnet-coverage-check
Expand Down
2 changes: 1 addition & 1 deletion PiBox.sln
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{
.github\workflows\dotnet-main.yml = .github\workflows\dotnet-main.yml
.github\workflows\dotnet-pr.yml = .github\workflows\dotnet-pr.yml
.github\workflows\codeql.yml = .github\workflows\codeql.yml
.github\workflows\publish-pr-coverage.yml = .github\workflows\publish-pr-coverage.yml
.github\workflows\publish-pr-test-coverage.yml = .github\workflows\publish-pr-test-coverage.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Smb", "Smb", "{8FBF8F87-502E-4B78-A952-C6505795E9B9}"
Expand Down

0 comments on commit ebe32cc

Please sign in to comment.