Files
lasuite-docs/.github/PULL_REQUEST_TEMPLATE.md
Anthony LC a404ba683b 👷(ci) rebase a pull request from a checkbox of its description
Contributors often have to rebase their branch on main by hand, even
when nothing conflicts. Add a "Rebase" checkbox to the pull request
template: ticking it triggers a workflow that rebases the branch on its
base branch through the update-branch API.

The workflow unticks the box first so the edit cannot trigger it again,
then comments the outcome. When the branch conflicts with its base, it
says the rebase is not possible and has to be done manually. It uses
pull_request_target so it works on pull requests from forks, which is
safe because the pull request code is never checked out or run.
2026-10-06 10:52:35 +02:00

1.6 KiB

Purpose

Describe the purpose of this pull request.

Proposal

  • item 1...
  • item 2...

Rebase

  • Rebase this pull request on its base branch (tick to rebase automatically, only possible without conflict)

External contributions

Thank you for your contribution! 🎉

Please ensure the following items are checked before submitting your pull request:

General requirements

Skip the checkbox below 👇 if you're fixing an issue or adding documentation

  • Before submitting a PR for a new feature I made sure to contact the product manager

CI requirements

  • I made sure that all existing tests are passing
  • I have signed off my commits with git commit --signoff (DCO compliance)
  • I have signed my commits with my SSH or GPG key (git commit -S)
  • My commit messages follow the required format: <gitmoji>(type) title description
  • I have added a changelog entry under ## [Unreleased] section (if noticeable change)

AI requirements

Skip the checkboxes below 👇 If you didn't use AI for your contribution

  • I used AI assistance to produce part or all of this contribution
  • I have read, reviewed, understood and can explain the code I am submitting
  • I can jump in a call or a chat to explain my work to a maintainer