Skip to content

Commit 098379f

Browse files
authored
chore(release): fix release label consistency in workflows and templates (#3876)
This change fixes the release tracking and branch cutting workflows to use the correct "type: release" label with a space. This ensures the automation triggers correctly and matches the label expected by the release tool.
1 parent ee0acbd commit 098379f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/ISSUE_TEMPLATE/release_tracking_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Release Tracking Issue
33
about: Checklist for tracking a new release of rules_python.
44
title: 'Release <version>'
5-
labels: ['type:release']
5+
labels: ['type: release']
66
---
77
# Release tasks
88
- [ ] Prepare Release | status=awaiting-preparation

.github/workflows/cut_release_branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ permissions:
1010

1111
jobs:
1212
cut_branch:
13-
# Run only if the issue has the type:release label
14-
if: contains(github.event.issue.labels.*.name, 'type:release')
13+
# Run only if the issue has the type: release label
14+
if: contains(github.event.issue.labels.*.name, 'type: release')
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository

.github/workflows/process_backports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
process_backports:
17-
# Always gate GHA runs to ensure we are operating on a type:release labeled issue if metadata is queried
17+
# Always gate GHA runs to ensure we are operating on a type: release labeled issue if metadata is queried
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout repository

0 commit comments

Comments
 (0)