Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme: add example of posting code cov PR comment #19

Closed
alexandrehtrb opened this issue May 15, 2024 · 1 comment
Closed

Readme: add example of posting code cov PR comment #19

alexandrehtrb opened this issue May 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@alexandrehtrb
Copy link

Hello,

It would be nice to add an example of how to post the code cov summary in a PR comment:

Example:

- name: Add comment to PR
  if: github.event_name == 'pull_request'
  run: gh pr comment $PR_NUMBER --body-file ./TestResults/Summary.md
  env:
    GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    PR_NUMBER: ${{ github.event.number }}
@alexandrehtrb alexandrehtrb changed the title Docs: add example of posting code cov PR comment Readme: add example of posting code cov PR comment May 15, 2024
@danielpalme
Copy link
Owner

Thanks for your hint. I have updated the Readme.

@danielpalme danielpalme added the enhancement New feature or request label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants