From dbb3a9e953a5cccd0271f51c2c497b786b19c55a Mon Sep 17 00:00:00 2001 From: ziggie Date: Sun, 14 Dec 2025 09:00:02 +0100 Subject: [PATCH] ci: fix some minor issues in the backport ci job -Due to a newer version we need to use add_labels instead of just labels -The backport PR will now also copy the milestones in case the milstones were set --- .github/workflows/backport.yml | 5 ++++- docs/backport-workflow.md | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index f8bc58040..c691bcf10 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -112,7 +112,10 @@ jobs: # Automatically add labels to backport PRs. # The 'no-changelog' label skips the release notes check in CI. - labels: no-changelog + add_labels: no-changelog + + # Copy milestone from original PR to backport PR. + copy_milestone: true # Merge strategy - skip merge commits, use cherry-pick only. merge_commits: skip diff --git a/docs/backport-workflow.md b/docs/backport-workflow.md index 7030994b4..bad0ca252 100644 --- a/docs/backport-workflow.md +++ b/docs/backport-workflow.md @@ -482,7 +482,7 @@ Error: Please ensure the branch exists before adding the backport label 2. **Check workflow configuration:** - Verify `.github/workflows/backport.yml` has: ```yaml - labels: no-changelog + add_labels: no-changelog ``` 3. **Re-run the workflow:**