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

Add a PR comment after the test run #19

Open
ryepup opened this issue Apr 14, 2021 · 1 comment
Open

Add a PR comment after the test run #19

ryepup opened this issue Apr 14, 2021 · 1 comment

Comments

@ryepup
Copy link

ryepup commented Apr 14, 2021

If running in a PR, it would be nice to add a comment after the test run. This would be a little more visible than the check report.

Maybe the badge and a list of any failed tests?

@AlexHedley
Copy link

AlexHedley commented Jan 8, 2023

Could use the outputs from action.yml.

See Comment on an issue

on:
  issues:
    types: [opened]

jobs:
  comment:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/github-script@v6
        with:
          script: |
            github.rest.issues.createComment({
              issue_number: context.issue.number,
              owner: context.repo.owner,
              repo: context.repo.repo,
              body: '👋 Thanks for reporting!'
            })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants