We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdb25b0 commit 7201f0bCopy full SHA for 7201f0b
1 file changed
.github/workflows/ci-post-comment.yml
@@ -0,0 +1,25 @@
1
+name: CI Post Comment
2
+on:
3
+ workflow_run:
4
+ workflows: ["CI"]
5
+ types:
6
+ - completed
7
+jobs:
8
+ post-comment:
9
+ if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' }}
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Download code-coverage-results
13
+ uses: actions/download-artifact@v4
14
+ with:
15
+ name: analysis-results
16
+ run-id: ${{ github.event.workflow_run.id }}
17
+ github-token: ${{ secrets.GITHUB_TOKEN }}
18
+
19
+ - name: Add Coverage PR Comment
20
+ uses: marocchino/sticky-pull-request-comment@v2
21
+ if: github.event_name == 'pull_request'
22
23
+ recreate: true
24
+ path: code-coverage-results.md
25
+ number: ${{ github.event.workflow_run.pull_requests[0].number }}
0 commit comments