Skip to content

Commit 157d75a

Browse files
committed
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
1 parent 9fcd7c2 commit 157d75a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/backport.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,10 @@ jobs:
112112
113113
# Automatically add labels to backport PRs.
114114
# The 'no-changelog' label skips the release notes check in CI.
115-
labels: no-changelog
115+
add_labels: no-changelog
116+
117+
# Copy milestone from original PR to backport PR.
118+
copy_milestone: true
116119

117120
# Merge strategy - skip merge commits, use cherry-pick only.
118121
merge_commits: skip

docs/backport-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ Error: Please ensure the branch exists before adding the backport label
482482
2. **Check workflow configuration:**
483483
- Verify `.github/workflows/backport.yml` has:
484484
```yaml
485-
labels: no-changelog
485+
add_labels: no-changelog
486486
```
487487
488488
3. **Re-run the workflow:**

0 commit comments

Comments
 (0)