Post Coverage Commit #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Post Coverage Commit | ||
on: | ||
workflow_run: | ||
workflows: ["Pytest"] | ||
types: | ||
- completed | ||
jobs: | ||
coverage: | ||
runs-on: ubuntu-latest | ||
if: github.event.workflow_run.event == "pull_request" && github.event.workflow_run.conclusion == "success" | ||
Check failure on line 13 in .github/workflows/coverage.yaml GitHub Actions / Post Coverage CommitInvalid workflow file
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
actions: read | ||
steps: | ||
- name: Python Coverage Comment | ||
uses: py-cov-action/python-coverage-comment-action@b2eb38dd175bf053189b35f738f9207278b00925 | ||
with: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }} |