Repository navigation
Add workflow for automatic issue headers - #108054
Conversation
AlexWaygood
left a comment
There was a problem hiding this comment.
Javascript isn't my strong suit, but this approach makes sense to me, as far as I can tell! And it seems to work pretty well :)
Will wait for another review before merging, though
|
For reference, the ocktokit docs:
And the GitHub docs for the return object schemas: A |
|
This can cause conflicts if you click to edit right after posting, and in the meantime the action adds the header. When you try and save it shows: It would be nicer to avoid this if possible, but I guess we'd need some of the workarounds from #108033 (comment) onward, like having a somehow textbox near the top. And, well, we can also get conflicts with the RTD link addition, but that's docs only PRs and this is for most issues. |
In the spirit of EAFP, we could try this out, and see if we get any complaints? |

xref: #108033 (comment)
As per Alex, please feel free to test at https://github.com/AA-Turner/cpython/issues/new/choose
A