You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When performing a PR revert, GitHub automatically generates a PR description.
This overrides the default template for the project, removing vital information expected in a pull request.
The current template is as follows:
Title: "Revert "$PRTITLE""
Body: "Reverts $PRNUM"
As developers, it is often worthwhile to include more information in the revert.
For example, in nvaccess/nvda we have created a template body as follows:
### Reverts PR
Reverts #issueNumber
### Issues fixed<!-- Issues that will be closed by reverting, i.e. the issues introduced via the PR getting reverted -->
Fixes #issueNumber
### Issues reopened<!-- Issues that will be re-opened by reverting, i.e. the issues that were fixed via the PR getting reverted -->
Reopens #issueNumber
### Reason for revert### Can this PR be reimplemented? If so, what is required for the next attempt
This needs to be copy pasted into the PR body.
It would be helpful to be able to override GitHubs default revert template, as it overrides the projects default PR template.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Select Topic Area
Product Feedback
Body
When performing a PR revert, GitHub automatically generates a PR description.
This overrides the default template for the project, removing vital information expected in a pull request.
The current template is as follows:
As developers, it is often worthwhile to include more information in the revert.
For example, in nvaccess/nvda we have created a template body as follows:
This needs to be copy pasted into the PR body.
It would be helpful to be able to override GitHubs default revert template, as it overrides the projects default PR template.
Beta Was this translation helpful? Give feedback.
All reactions