Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Conversation

@vorobievalex
Copy link
Contributor

@vorobievalex vorobievalex commented Apr 15, 2021

Proposed Changes

commentOnPull() used .artifact() and .github.artifacts that do not exist in context in probot v9.14.1.

  • those replaced with context.github.issues.createComment, that adds a comment to a PR
  • tested in a private installation
  • tests updated to inject initializeRallyClient and verify pull_request.synchronize flow

Readiness Checklist

  • If this change requires documentation, it has been included in this pull request

Reviewer Checklist

  • If a functional change has occurred, testing the integration has been performed
  • This PR has been categorized with a label (1 of automation, bug, documentation, enhancement, infrastructure, or performance) for the changelog

@zkoppert zkoppert added the bug Something isn't working label Apr 15, 2021
rally.yml Outdated

# Comment on the PR in addition to the check message? (true | false)
commentOnPull: false
commentOnPull: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@primetheus Should this default be true or would you rather it default to false?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zkoppert this should be false by default. The reason it's present is because older versions of GHES don't have the Checks API and there won't be a place for these results to be posted. In those cases, users can opt for having the results posted as comments to the PR. I don't think that's the desired default though

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense to me.

@zkoppert
Copy link
Member

@vorobievalex Thanks for contributing! 🎉 Do you have a screenshot you can share that shows that it commented on a PR?

@vorobievalex
Copy link
Contributor Author

@zkoppert, sure, here is a screenshot of a comment.
Screenshot 2021-04-20 at 10 15 24

Copy link
Member

@zkoppert zkoppert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀🚀🚀

@zkoppert zkoppert changed the base branch from main to zk-integration April 21, 2021 05:56
@zkoppert zkoppert merged commit 3919179 into github:zk-integration Apr 21, 2021
@zkoppert zkoppert mentioned this pull request Apr 21, 2021
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants