all-contributors / all-contributors/allcontributors.org

Two PRs are created instead of one: the first one is incorrect, the second one is as expected

未關閉
#656 5 則留言 0 個 reaction 已指派 1 人 已被 @tenshiAMD 認領 在 GitHub 檢視
bug bug:confirmed
主要語言
MDX
星號
8.1k
分支
1.7k
平均合併
17 小時 1 分鐘
30 天內合併 PR
6

描述

**Describe the bug**
Two PRs are created instead of one. The first one is irrelevant (wrong username and wrong emoji key) while the second one (which got created after manually closing the first one) gets created correctly.

**To Reproduce**
Steps to reproduce the behavior: it is unclear how this can be reproduced, but [here's a link to the issue where the bug happened](https://github.com/world-class/REPL/issues/255#issuecomment-1276811985).

1. Add a contributor from a recently closed issue using the exact same phrasing [as per the docs](https://allcontributors.org/docs/en/bot/usage#all-contributors-add): `@all-contributors please add @ for bug`

**Expected behavior**
A single PR should be created, i.e. [this one](https://github.com/world-class/REPL/pull/257).

**Screenshots**
Here, it can be seen that two PRs were created.
Screen Shot 2022-10-12 at 18 10 50

**Additional context**
Here's what happened for the above screenshot to have gotten to where it is (timezone in `CDT`):

1. 5:52pm: the command `@all-contributors please add @ for bug` is invoked from [a comment](https://github.com/world-class/REPL/issues/255#issuecomment-1276811985) inside an issue.
2. 5:52pm: [the first (incorrect) PR is created](https://github.com/world-class/REPL/pull/256).
3. 5:54pm: the same PR is [closed in this comment](https://github.com/world-class/REPL/pull/256#issuecomment-1276813238) as it was irrelevant.
4. 5:54pm: [a new PR is created](https://github.com/world-class/REPL/pull/257), this one is OK.
5. 5:55pm: that second PR is merged.
6. 5:55pm: all-contributors bot [added a comment](https://github.com/world-class/REPL/issues/255#issuecomment-1276814406) linking to the two PRs it created. It says `Please make sure to use valid contribution names`, however the original request was for the emoji `bug`, which is listed in the [Emoji Key table](https://allcontributors.org/docs/en/emoji-key).

---

We have benefited tremendously from all-contributors so far in the above linked repo! Thank you very much! 🙂

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。