ci: fix some minor issues in the backport ci job
What changed, and why it matters
This commit is a routine maintenance fix for the project's automated GitHub workflow that creates backport pull requests. It updates a configuration option name from 'labels' to 'add_labels' to match a newer version of the workflow action, and enables copying of milestone settings from the original pull request to the backport. There is no change to the actual Lightning Network node software or anything that could affect user funds or network security.
No security action required. This is a benign CI workflow maintenance change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch modifies .github/workflows/backport.yml and docs/backport-workflow.md only. It changes the backport GitHub Action parameter from ‘labels’ to ‘add_labels’ (a compatibility update for a newer action version) and adds ‘copy_milestone: true’. These are CI/release-process configuration changes with no impact on lnd runtime code, cryptography, networking, or consensus logic.
Changed components
.github/workflows/backport.ymldocs/backport-workflow.mdInspect captured patch +5 / −2
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
index f8bc580..c691bcf 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 7030994..bad0ca2 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:**
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.