Skip to content

Comment on PR

Comment on PR #34

Workflow file for this run

name: Comment on PR
on:
workflow_run:
workflows:
- "Python package"
types:
- completed
jobs:
comment:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: jwalton/gh-find-current-pr@7ada613939e2a233c83a1320679446fa1c6bdcb9 #v1.3.2
id: finder
- name: on artifact
id: artifact
uses: marocchino/on_artifact@fa52c295bf1972c5d09a615f31edb68c4438fb06 # v1
with:
name: coverage
- uses: marocchino/sticky-pull-request-comment@fcf6fe9e4a0409cd9316a5011435be0f3327f1e1 # v2.3.1
with:
number: ${{ steps.finder.outputs.pr }}
header: Coverage
message: |
${{ steps.artifact.outputs.code_coverage_md }}