From e0b897d8774c0cd934d6caa5bcbb8088bc0aa816 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 15 Aug 2024 14:29:44 -0500 Subject: [PATCH] [ci] Update backport labels (#190638) Removes backport:auto-version - never implemented Adds backport:current-major - backport to all supported minor versions of the current major version Adds backport:version - backport to adjacent semver labels, intended to replace auto-backport --- .github/workflows/fix-version-gaps.yml | 3 ++- .github/workflows/on-merge.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fix-version-gaps.yml b/.github/workflows/fix-version-gaps.yml index 1e89ec2553457..d3eb1be40f6d2 100644 --- a/.github/workflows/fix-version-gaps.yml +++ b/.github/workflows/fix-version-gaps.yml @@ -16,8 +16,9 @@ jobs: && !( contains(github.event.pull_request.labels.*.name, 'backport:prev-minor') || contains(github.event.pull_request.labels.*.name, 'backport:prev-major') + || contains(github.event.pull_request.labels.*.name, 'backport:current-major') || contains(github.event.pull_request.labels.*.name, 'backport:all-open') - || contains(github.event.pull_request.labels.*.name, 'backport:auto-version') + || contains(github.event.pull_request.labels.*.name, 'backport:version') ) && !( (github.event.action == 'labeled' && github.event.label.name == 'auto-backport') diff --git a/.github/workflows/on-merge.yml b/.github/workflows/on-merge.yml index 421e4825d1a6a..ae1b80bd94dc4 100644 --- a/.github/workflows/on-merge.yml +++ b/.github/workflows/on-merge.yml @@ -16,8 +16,9 @@ jobs: github.event.action == 'labeled' && ( github.event.label.name == 'backport:prev-minor' || github.event.label.name == 'backport:prev-major' + || github.event.label.name == 'backport:current-major' || github.event.label.name == 'backport:all-open' - || github.event.label.name == 'backport:auto-version' + || github.event.label.name == 'backport:version' ) ) || (github.event.action == 'closed')