Skip to content

Commit

Permalink
[Bugfix] CI: Run PR Workflow Properly on PRs from Forks (#155)
Browse files Browse the repository at this point in the history
* Changed ::= CI:  upload PR code coverage report as asset instead of PR comment; fixes #151

* Create summary of recent changes

---------

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
kevinmatthes and github-actions[bot] committed Mar 2, 2024
1 parent aee3803 commit 19f3392
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,13 @@ jobs:
echo '```' ;
pycobertura show cobertura.xml ;
echo '```' ;
} >> code-coverage.md
} >> code-coverage.txt
- uses: thollander/actions-comment-pull-request@v2.5.0
- if: always()
uses: actions/upload-artifact@v4.3.1
with:
comment_tag: code-coverage
filePath: code-coverage.md
name: code-coverage.txt
path: code-coverage.txt

coverage:
needs:
Expand Down
8 changes: 8 additions & 0 deletions changelog.d/20240302_205334_GitHub_Actions_151.ron
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(
references: {},
changes: {
"Changed": [
"CI: upload PR code coverage report as asset instead of PR comment; fixes #151",
],
},
)

0 comments on commit 19f3392

Please sign in to comment.