Skip to content

Commit 5942f42

Browse files
committed
fix label names
Signed-off-by: Emídio Neto <[email protected]>
1 parent abb4695 commit 5942f42

File tree

13 files changed

+39
-31
lines changed

13 files changed

+39
-31
lines changed

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141
--body "Clean cherry-pick of #$NUMBER to the \`$GITHUB_REF_NAME\` branch." \
4242
--head $branch \
4343
--base $GITHUB_REF_NAME \
44-
--label patch-release
44+
--label backport

.github/workflows/generate_workflows_lib/src/generate_workflows_lib/lint.yml.j2

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ on:
1010
pull_request:
1111

1212
env:
13-
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
13+
# Set the SHA to the branch name if the PR has a label 'prepare-release' or 'backport' otherwise, set it to 'main'
1414
# For PRs you can change the inner fallback ('main')
1515
# For pushes you change the outer fallback ('main')
16+
# This logic below is used during releases and depends on having a equivalent branch name in core.
1617
CORE_REPO_SHA: {% raw %}${{ github.event_name == 'pull_request' && (
17-
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
18-
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
18+
contains(github.event.pull_request.labels.*.name, 'prepare-release') && github.event.pull_request.head.ref ||
19+
contains(github.event.pull_request.labels.*.name, 'backport') && github.event.pull_request.base.ref ||
1920
'main'
2021
) || 'main' }}{% endraw %}
2122
CONTRIB_REPO_SHA: main

.github/workflows/generate_workflows_lib/src/generate_workflows_lib/misc.yml.j2

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ on:
1010
pull_request:
1111

1212
env:
13-
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
13+
# Set the SHA to the branch name if the PR has a label 'prepare-release' or 'backport' otherwise, set it to 'main'
1414
# For PRs you can change the inner fallback ('main')
1515
# For pushes you change the outer fallback ('main')
16+
# This logic below is used during releases and depends on having a equivalent branch name in core.
1617
CORE_REPO_SHA: {% raw %}${{ github.event_name == 'pull_request' && (
17-
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
18-
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
18+
contains(github.event.pull_request.labels.*.name, 'prepare-release') && github.event.pull_request.head.ref ||
19+
contains(github.event.pull_request.labels.*.name, 'backport') && github.event.pull_request.base.ref ||
1920
'main'
2021
) || 'main' }}{% endraw %}
2122
CONTRIB_REPO_SHA: main

.github/workflows/generate_workflows_lib/src/generate_workflows_lib/test.yml.j2

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ on:
1010
pull_request:
1111

1212
env:
13-
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
13+
# Set the SHA to the branch name if the PR has a label 'prepare-release' or 'backport' otherwise, set it to 'main'
1414
# For PRs you can change the inner fallback ('main')
1515
# For pushes you change the outer fallback ('main')
16+
# This logic below is used during releases and depends on having a equivalent branch name in core.
1617
CORE_REPO_SHA: {% raw %}${{ github.event_name == 'pull_request' && (
17-
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
18-
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
18+
contains(github.event.pull_request.labels.*.name, 'prepare-release') && github.event.pull_request.head.ref ||
19+
contains(github.event.pull_request.labels.*.name, 'backport') && github.event.pull_request.base.ref ||
1920
'main'
2021
) || 'main' }}{% endraw %}
2122
CONTRIB_REPO_SHA: main

.github/workflows/lint_0.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ on:
1010
pull_request:
1111

1212
env:
13-
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
13+
# Set the SHA to the branch name if the PR has a label 'prepare-release' or 'backport' otherwise, set it to 'main'
1414
# For PRs you can change the inner fallback ('main')
1515
# For pushes you change the outer fallback ('main')
16+
# This logic below is used during releases and depends on having a equivalent branch name in core.
1617
CORE_REPO_SHA: ${{ github.event_name == 'pull_request' && (
17-
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
18-
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
18+
contains(github.event.pull_request.labels.*.name, 'prepare-release') && github.event.pull_request.head.ref ||
19+
contains(github.event.pull_request.labels.*.name, 'backport') && github.event.pull_request.base.ref ||
1920
'main'
2021
) || 'main' }}
2122
CONTRIB_REPO_SHA: main

.github/workflows/misc_0.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ on:
1010
pull_request:
1111

1212
env:
13-
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
13+
# Set the SHA to the branch name if the PR has a label 'prepare-release' or 'backport' otherwise, set it to 'main'
1414
# For PRs you can change the inner fallback ('main')
1515
# For pushes you change the outer fallback ('main')
16+
# This logic below is used during releases and depends on having a equivalent branch name in core.
1617
CORE_REPO_SHA: ${{ github.event_name == 'pull_request' && (
17-
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
18-
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
18+
contains(github.event.pull_request.labels.*.name, 'prepare-release') && github.event.pull_request.head.ref ||
19+
contains(github.event.pull_request.labels.*.name, 'backport') && github.event.pull_request.base.ref ||
1920
'main'
2021
) || 'main' }}
2122
CONTRIB_REPO_SHA: main

.github/workflows/package-prepare-patch-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ jobs:
119119
--body "$message." \
120120
--head $branch \
121121
--base $GITHUB_REF_NAME \
122-
--label release
122+
--label prepare-release

.github/workflows/package-prepare-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
--body "$message." \
144144
--head $branch \
145145
--base $RELEASE_BRANCH_NAME \
146-
--label release
146+
--label prepare-release
147147
148148
create-pull-request-against-main:
149149
runs-on: ubuntu-latest
@@ -197,4 +197,4 @@ jobs:
197197
--body "$body" \
198198
--head $branch \
199199
--base main \
200-
--label release
200+
--label prepare-release

.github/workflows/prepare-patch-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,4 +84,4 @@ jobs:
8484
--body "$message." \
8585
--head $branch \
8686
--base $GITHUB_REF_NAME \
87-
--label release
87+
--label prepare-release

.github/workflows/prepare-release-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
--body "$message." \
108108
--head $branch \
109109
--base $RELEASE_BRANCH_NAME \
110-
--label release
110+
--label prepare-release
111111
112112
create-pull-request-against-main:
113113
runs-on: ubuntu-latest
@@ -194,4 +194,4 @@ jobs:
194194
--body "$body" \
195195
--head $branch \
196196
--base main \
197-
--label release
197+
--label prepare-release

0 commit comments

Comments
 (0)