add note about configuring PR branch deletion in repository setting - #19
add note about configuring PR branch deletion in repository setting#19joyeecheung wants to merge 2 commits into
Conversation
|
I feel quite strongly this is not the right approach, instead of more docs, let's have GitHub enforce it for us with https://github.com/nodejs/bluesky/settings/rules/2926087 and #16 |
|
Do you happen to know how to write a rule set that
|
|
I think when we need to push to |
|
Doesn't that setup still require more docs in this section, for someone setting up the automation for the first time? And instead of pointing people to this link and let the workflow prevents unreviewed actions, we point them to a different link to the rule set yet still allow the workflow to accept unreviewed actions? |
|
I think that's fine, it's much easier for someone writing an automation to be forced to read a doc, rather than relying on contributors to refrain from doing a very common thing (deleting the head branch once the PR has merged) |
|
I think so far the incidents only happened when GitHub deleted the branch. Usually the action finishes in <30s which is not a lot of time to wait until you click another button to delete the branch. |
|
I've pushed another commit to #16 so the workflow doesn't use the deletable branch |
|
From #23 it seems the forks need to disable it too, which is a bit too much. I think trying to put the limitation in the base repo would be the best approach, so closing. |
No description provided.