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
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -112,7 +112,10 @@ jobs:
|
|||||||
|
|
||||||
# Automatically add labels to backport PRs.
|
# Automatically add labels to backport PRs.
|
||||||
# The 'no-changelog' label skips the release notes check in CI.
|
# 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 strategy - skip merge commits, use cherry-pick only.
|
||||||
merge_commits: skip
|
merge_commits: skip
|
||||||
|
|||||||
@@ -482,7 +482,7 @@ Error: Please ensure the branch exists before adding the backport label
|
|||||||
2. **Check workflow configuration:**
|
2. **Check workflow configuration:**
|
||||||
- Verify `.github/workflows/backport.yml` has:
|
- Verify `.github/workflows/backport.yml` has:
|
||||||
```yaml
|
```yaml
|
||||||
labels: no-changelog
|
add_labels: no-changelog
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Re-run the workflow:**
|
3. **Re-run the workflow:**
|
||||||
|
|||||||
Reference in new issue
Block a user