Skip to content

[CI/CD] Use original PR name in prdoc check for the backport PR's to the stable branches#8329

Merged
EgorPopelyaev merged 10 commits intoparitytech:masterfrom
EgorPopelyaev:ep-use-original-pr-name-in-prdoc-check
Apr 25, 2025
Merged

[CI/CD] Use original PR name in prdoc check for the backport PR's to the stable branches#8329
EgorPopelyaev merged 10 commits intoparitytech:masterfrom
EgorPopelyaev:ep-use-original-pr-name-in-prdoc-check

Conversation

@EgorPopelyaev
Copy link
Copy Markdown
Contributor

@EgorPopelyaev EgorPopelyaev commented Apr 24, 2025

This PR adjusts the check-prdoc flow so that if it runs for the backport PR's, the PR number will be extracted from the PR title and the renaming of the prdoc file won't be needed.

Closes: https://github.com/paritytech/release-engineering/issues/258

@EgorPopelyaev EgorPopelyaev added R0-no-crate-publish-required The change does not require any crates to be re-published. A4-backport-stable2409 A4-backport-stable2503 Pull request must be backported to the stable2503 release branch labels Apr 24, 2025
@EgorPopelyaev EgorPopelyaev requested a review from a team April 24, 2025 16:49
@EgorPopelyaev EgorPopelyaev requested review from a team as code owners April 24, 2025 16:49
@EgorPopelyaev EgorPopelyaev changed the title Use original pr name in prdoc check for the backport PR's to the stable branches [CI/CD] Use original pr name in prdoc check for the backport PR's to the stable branches Apr 24, 2025
@EgorPopelyaev EgorPopelyaev changed the title [CI/CD] Use original pr name in prdoc check for the backport PR's to the stable branches [CI/CD] Use original PR name in prdoc check for the backport PR's to the stable branches Apr 24, 2025
@paritytech-review-bot paritytech-review-bot bot requested a review from a team April 24, 2025 16:54
if [[ $PR_TITLE =~ \#([0-9]+) ]]; then
original_pr_number="${BASH_REMATCH[1]}"
echo "Extracted PR number: $original_pr_number"
fi
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it doesn't match. Failing with a proper error would be great.

@EgorPopelyaev EgorPopelyaev enabled auto-merge April 25, 2025 12:43
@EgorPopelyaev EgorPopelyaev added this pull request to the merge queue Apr 25, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 25, 2025
@EgorPopelyaev EgorPopelyaev added this pull request to the merge queue Apr 25, 2025
Merged via the queue into paritytech:master with commit aa67e2d Apr 25, 2025
238 of 247 checks passed
@EgorPopelyaev EgorPopelyaev deleted the ep-use-original-pr-name-in-prdoc-check branch April 25, 2025 18:38
@paritytech-release-backport-bot
Copy link
Copy Markdown

Created backport PR for stable2409:

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin backport-8329-to-stable2409
git worktree add --checkout .worktree/backport-8329-to-stable2409 backport-8329-to-stable2409
cd .worktree/backport-8329-to-stable2409
git reset --hard HEAD^
git cherry-pick -x aa67e2dbda7d68238b62325dec791af157c7ccaf
git push --force-with-lease

@paritytech-release-backport-bot
Copy link
Copy Markdown

Created backport PR for stable2412:

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin backport-8329-to-stable2412
git worktree add --checkout .worktree/backport-8329-to-stable2412 backport-8329-to-stable2412
cd .worktree/backport-8329-to-stable2412
git reset --hard HEAD^
git cherry-pick -x aa67e2dbda7d68238b62325dec791af157c7ccaf
git push --force-with-lease

paritytech-release-backport-bot bot pushed a commit that referenced this pull request Apr 25, 2025
…the stable branches (#8329)

This PR adjusts the `check-prdoc` flow so that if it runs for the
backport PR's, the PR number will be extracted from the PR title and the
renaming of the prdoc file won't be needed.

Closes: paritytech/release-engineering#258
(cherry picked from commit aa67e2d)
@paritytech-release-backport-bot
Copy link
Copy Markdown

Successfully created backport PR for stable2503:

wassimans pushed a commit to wassimans/polkadot-sdk that referenced this pull request Apr 27, 2025
…the stable branches (paritytech#8329)

This PR adjusts the `check-prdoc` flow so that if it runs for the
backport PR's, the PR number will be extracted from the PR title and the
renaming of the prdoc file won't be needed.

Closes: https://github.com/paritytech/release-engineering/issues/258
ordian added a commit that referenced this pull request Apr 28, 2025
* master: (120 commits)
  [CI] Improve GH build status checking (#8331)
  [CI/CD] Use original PR name in prdoc check for the backport PR's to the stable branches (#8329)
  Add new host APIs set_storage_or_clear and get_storage_or_zero (#7857)
  push to dockerhub (#8322)
  Snowbridge - V1 - Adds 2 hop transfer to Rococo (#7956)
  [AHM] Prepare `election-provider-multi-block` for full lazy data deletion (#8304)
  Check umbrella version (#8250)
  [AHM] Fully bound staking async (#8303)
  migrate parachain-templates tests to `gha` (#8226)
  staking-async: add missing new_session_genesis (#8310)
  New NFT traits: granular and abstract interface (#5620)
  Extract create_pool_with_native_on macro to common crate (#8289)
  XCMP: use batching when enqueuing inbound messages (#8021)
  Snowbridge - Tests refactor (#8014)
  Allow configuration of worst case buy execution weight (#7944)
  Fix faulty pre-upgrade migration check in pallet-session (#8294)
  [pallet-revive] add get_storage_var_key for variable-sized keys (#8274)
  add poke_deposit extrinsic to pallet-recovery (#7882)
  `txpool`: use tracing for structured logging (#8001)
  [revive] eth-rpc refactoring (#8148)
  ...
EgorPopelyaev added a commit that referenced this pull request Apr 28, 2025
Backport #8329 into `stable2409` from EgorPopelyaev.

See the
[documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md)
on how to use this bot.

<!--
  # To be used by other automation, do not modify:
  original-pr-number: #${pull_number}
-->

---------

Co-authored-by: Egor_P <egor@parity.io>
EgorPopelyaev added a commit that referenced this pull request Apr 28, 2025
Backport #8329 into `stable2412` from EgorPopelyaev.

See the
[documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md)
on how to use this bot.

<!--
  # To be used by other automation, do not modify:
  original-pr-number: #${pull_number}
-->

---------

Co-authored-by: Egor_P <egor@parity.io>
EgorPopelyaev added a commit that referenced this pull request Apr 29, 2025
Backport #8329 into `stable2503` from EgorPopelyaev.

See the
[documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md)
on how to use this bot.

<!--
  # To be used by other automation, do not modify:
  original-pr-number: #${pull_number}
-->

Co-authored-by: Egor_P <egor@parity.io>
castillax pushed a commit that referenced this pull request May 12, 2025
…the stable branches (#8329)

This PR adjusts the `check-prdoc` flow so that if it runs for the
backport PR's, the PR number will be extracted from the PR title and the
renaming of the prdoc file won't be needed.

Closes: paritytech/release-engineering#258
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A4-backport-stable2503 Pull request must be backported to the stable2503 release branch 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