Skip to content
Snippets Groups Projects
  1. Jan 03, 2025
  2. Aug 28, 2024
    • Oliver Tale-Yazdi's avatar
      CI: Add backporting bot (#4795) · 56201964
      Oliver Tale-Yazdi authored
      
      Adds a bot that automatically opens MRs into the `stable2407` branch
      when the `A4-needs-backport` label is applied to a merged MR.
      
      TODO:
      - [x] ~~Settle on label vs error message trade-off~~ (resolved)
      
      docs:
      
      # Backporting
      
      This document explains how to backport a merged PR from `master` to one
      of the `stable*` branches. Backports should only be used to fix bugs or
      security issues - never to introduce new features.
      
      ## Steps
      
      1. Fix a bug through a PR that targets `master`.
      2. Add label `A4-needs-backport` to the PR.
      4. Merge the PR into `master`.
      5. Wait for the bot to open the backport PR.
      6. Ensure the change is audited or does not need audit.
      7. Merge the backport PR. 
      
      The label can also be added after the PR is merged.
      
      ## Example
      
      For example here where the dev triggered the process by adding the label
      after merging:
      
      
      ![backport-ex2](https://github.com/user-attachments/assets/c7b686db-a0fe-41f1-9d6f-959a5a7097b1)
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
  3. May 27, 2024
  4. Feb 28, 2024
  5. Jan 26, 2024