Skip to content

Conversation

@EgorPopelyaev
Copy link
Contributor

@EgorPopelyaev EgorPopelyaev commented Mar 19, 2025

This PR changes the command-backport.yml flow so that the branch names are not hardcoded in the pipeline file but will be parsed from the labels.
The idea is that there are going to be a label representing each stable branch:

  • A4-backport-stable2407
  • A4-backport-stable2409
  • A4-backport-stable2412
  • A4-backport-stable2503

If the backport is needed to any of those branches or to all of them, the corresponding label can be set on the PR and the branch name will be parsed from it.
The labels need to be created in the repo and adjusted as soon as there is a new release appears or an old one disappears.

@EgorPopelyaev EgorPopelyaev added the R0-no-crate-publish-required The change does not require any crates to be re-published. label Mar 19, 2025
@EgorPopelyaev EgorPopelyaev requested a review from ggwpez March 19, 2025 16:40
@EgorPopelyaev EgorPopelyaev requested review from a team as code owners March 19, 2025 16:40
@EgorPopelyaev EgorPopelyaev marked this pull request as draft March 19, 2025 16:40
@EgorPopelyaev EgorPopelyaev requested a review from a team March 20, 2025 09:45
@EgorPopelyaev EgorPopelyaev marked this pull request as ready for review March 20, 2025 09:45
@paritytech-review-bot paritytech-review-bot bot requested a review from a team March 20, 2025 09:47
@ggwpez
Copy link
Member

ggwpez commented Mar 20, 2025

Maybe also update the BACKPORT.md

@EgorPopelyaev EgorPopelyaev enabled auto-merge March 20, 2025 11:18
@EgorPopelyaev EgorPopelyaev added this pull request to the merge queue Mar 20, 2025
Merged via the queue into master with commit 628bdd9 Mar 20, 2025
249 of 254 checks passed
@EgorPopelyaev EgorPopelyaev deleted the ep-refactor-backport-flow branch March 20, 2025 12:22
ordian added a commit that referenced this pull request Apr 28, 2025
* master: (26 commits)
  Snowbridge V2 (#7402)
  [AHM] Revert multi-block election, slashing and staking client pallets (#7939)
  docs: update local ci execution instruction (#8003)
  Upgrade deps to eliminate ancient dependencies (#7999)
  Removed `pallet:getter` from XCM pallets (#7916)
  Add digest processor xcm emulator (#7915)
  Fix: [Referenda Tracks] Resolve representation issues that are breaking PJS apps (#7671)
  Improve XCMP weight metering (#7963)
  bump version of zombienet-sdk (#7964)
  rpc-v2/archive: Rename archive call method result to value (#7885)
  Bump parachains runtime api to 13 (#7981)
  `bp-runtime`: make macro expansion not rely on `sp-std` in scope. (#7978)
  [CI/CD] Refactor backports flow so that it can determine automatically where to do a backport based on labels (#7976)
  Treasury: update expire date on payout (#7958) (#7959)
  `fatxpool`: report_invalid: do not ban Future/Stale txs from re-entering the view (#7777)
  Fix XCM Barrier Rejection Handling to Return Incomplete with Weight (#7843)
  Bump openssl from 0.10.64 to 0.10.70 (#7442)
  runtime-api: remove redundant version checks (#7610)
  Upgrade link-checker cache to v4 (#7874)
  Updating readmes (#7950)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants