ti-community-infra / ti-challenge-bot

A bot for challenge program.
https://tidb-community-bots.github.io/ti-challenge-bot/
ISC License
3 stars 2 forks source link

When a PR is associated with an Issue and uses close semantics, the remaining score will be automatically rewarded to this PR #211

Open Rustin170506 opened 4 years ago

Rustin170506 commented 4 years ago

Feature Request

Is your feature request related to a Issue or PR(Optional)

None

Describe the feature you'd like:

Do you have any ideas on how to implement it?(Optional)

When a PR is associated with an Issue and uses close semantics, the remaining score will be automatically rewarded to this PR.

Rustin170506 commented 4 years ago

/type feature

Rustin170506 commented 4 years ago

/help

ti-chi-bot commented 4 years ago

@hi-rustin: This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to [this](https://github.com/tidb-community-bots/ti-challenge-bot/issues/211): >/help Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
Rustin170506 commented 3 years ago

/assign @whileTrue0x90

whileTrue0x90 commented 3 years ago

What does the remaining score mean? Is it the total score of the issue or the score of / reward?

Rustin170506 commented 3 years ago

What does the remaining score mean? Is it the total score of the issue or the score of / reward?

An issue can have multiple PRs associated with it, and we reward these PRs separately. Therefore, the remaining score for the current issue will appear.

whileTrue0x90 commented 3 years ago

So, we have to give the rest of the score to this PR? What if there are other PR solving issues?

Rustin170506 commented 3 years ago

So, we have to give the rest of the score to this PR?

Yes.

whileTrue0x90 commented 3 years ago

What if there are other PR solving issues? Do they still have points?

Rustin170506 commented 3 years ago

What if there are other PR solving issues? Do they still have points?

I think only one PR should be automatically rewarded. Other automatic rewards will fail.

ti-chi-bot commented 3 years ago

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with /close. Send feedback to sig-community-infra or hi-rustin. /lifecycle stale

ti-chi-bot commented 3 years ago

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity. If this issue is safe to close now please do so with /close. Send feedback to sig-community-infra or hi-rustin. /lifecycle rotten