Commit a916714
authored
issues can now be closed as
Recently, GitHub added the ability to [explicitly close an issue as a
duplicate](https://github.blog/changelog/2024-12-12-github-issues-projects-close-issue-as-a-duplicate-rest-api-for-sub-issues-and-more/#close-an-issue-as-a-duplicate).
When you close an issue as a duplicate, in addition to linking it to the
issue and putting an event in the timeline, it _also_ sets the the issue
state reason to `duplicate`. I cannot find this behavior documented in
the current GitHub API docs, but I have seen it in the wild on a few
recent issues in the rust-analyzer repository.duplicate (#741)1 parent fae5b08 commit a916714
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
0 commit comments