Skip to content

Commit

Permalink
chore/release: Add support for milestone branch labels for backports (#…
Browse files Browse the repository at this point in the history
…6880)

Per RFC1018, we will ship VSCode and JetBrains from a single release
branch. These are labeled after the milestone, for example M66, M68,
etc.

The legacy branch names are preserved, but we can remove them after M66
hits stable.

## Test plan

I am release captain this week and will dogfood this with M66 by
backporting changes like the renamed release automation in #6879 to the
M66 branch.
  • Loading branch information
dominiccooney authored Jan 30, 2025
1 parent 495962e commit 3d36a57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ jobs:
- uses: sourcegraph/backport@v2
with:
github_token: ${{ secrets.BACKPORT_GITHUB_TOKEN }}
label_pattern: '^backport (?<base>(jb|vscode)-v\d+\.\d+\.x)$'
# TODO: Remove the jb, vscode parts of the pattern after VSCode v1.66 and JetBrains v7.66 reach stable
label_pattern: '^backport (?<base>((jb|vscode)-v\d+\.\d+\.x)|(M\d+))$'
team_reviews: "cody-core"

0 comments on commit 3d36a57

Please sign in to comment.