-
My GitHub Actions dev YAML pipeline runs two npm scripts
Both use this plugin to display the code coverage report on the pull request But both add a comment "Coverage report", and I'm not able to tell which is which Is the comment that the plugin generates customizable? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @joehoppe 👋, Sorry, this feature is not documented, but there is an option to customize the comment title: jest-coverage-report-action/action.yml Lines 38 to 40 in 952a059 For example, this could be: name: 'coverage'
on:
pull_request:
branches:
- master
- main
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ArtiomTr/jest-coverage-report-action@v2
with:
custom-title: Integration test coverage |
Beta Was this translation helpful? Give feedback.
-
No apology needed. Thank you for the quick response! Worked great |
Beta Was this translation helpful? Give feedback.
Hello @joehoppe 👋,
Sorry, this feature is not documented, but there is an option to customize the comment title:
jest-coverage-report-action/action.yml
Lines 38 to 40 in 952a059
For example, this could be: