all-contributors / all-contributors/allcontributors.org
Two PRs are created instead of one: the first one is incorrect, the second one is as expected
- Lingua principale
- MDX
- Stelle
- 8.1k
- Fork
- 1.7k
- Merge medio
- 17h 1m
- PR unite (30g)
- 6
Descrizione
**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.

**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! 🙂
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.