Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ jobs:
gh pr create --title "[$GITHUB_REF_NAME] $title" \
--body "Clean cherry-pick of #$NUMBER to the \`$GITHUB_REF_NAME\` branch." \
--head $branch \
--base $GITHUB_REF_NAME
--base $GITHUB_REF_NAME \
--label patch-release
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ on:
pull_request:

env:
CORE_REPO_SHA: main
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
# For PRs you can change the inner fallback ('main')
# For pushes you change the outer fallback ('main')
CORE_REPO_SHA: {% raw %}${{ github.event_name == 'pull_request' && (
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
'main'
) || 'main' }}{% endraw %}
CONTRIB_REPO_SHA: main
PIP_EXISTS_ACTION: w

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ on:
pull_request:

env:
CORE_REPO_SHA: main
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
# For PRs you can change the inner fallback ('main')
# For pushes you change the outer fallback ('main')
CORE_REPO_SHA: {% raw %}${{ github.event_name == 'pull_request' && (
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
'main'
) || 'main' }}{% endraw %}
CONTRIB_REPO_SHA: main
PIP_EXISTS_ACTION: w

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ on:
pull_request:

env:
CORE_REPO_SHA: main
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
# For PRs you can change the inner fallback ('main')
# For pushes you change the outer fallback ('main')
CORE_REPO_SHA: {% raw %}${{ github.event_name == 'pull_request' && (
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
'main'
) || 'main' }}{% endraw %}
CONTRIB_REPO_SHA: main
PIP_EXISTS_ACTION: w

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/lint_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ on:
pull_request:

env:
CORE_REPO_SHA: main
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
# For PRs you can change the inner fallback ('main')
# For pushes you change the outer fallback ('main')
CORE_REPO_SHA: ${{ github.event_name == 'pull_request' && (
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
'main'
) || 'main' }}
CONTRIB_REPO_SHA: main
PIP_EXISTS_ACTION: w

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/misc_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ on:
pull_request:

env:
CORE_REPO_SHA: main
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
# For PRs you can change the inner fallback ('main')
# For pushes you change the outer fallback ('main')
CORE_REPO_SHA: ${{ github.event_name == 'pull_request' && (
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
'main'
) || 'main' }}
CONTRIB_REPO_SHA: main
PIP_EXISTS_ACTION: w

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/package-prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,5 @@ jobs:
gh pr create --title "[$GITHUB_REF_NAME] $message" \
--body "$message." \
--head $branch \
--base $GITHUB_REF_NAME
--base $GITHUB_REF_NAME \
--label patch-release
6 changes: 4 additions & 2 deletions .github/workflows/package-prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ jobs:
gh pr create --title "[$RELEASE_BRANCH_NAME] $message" \
--body "$message." \
--head $branch \
--base $RELEASE_BRANCH_NAME
--base $RELEASE_BRANCH_NAME \
--label release

create-pull-request-against-main:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -195,4 +196,5 @@ jobs:
gh pr create --title "$message" \
--body "$body" \
--head $branch \
--base main
--base main \
--label release
3 changes: 2 additions & 1 deletion .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,5 @@ jobs:
gh pr create --title "[$GITHUB_REF_NAME] $message" \
--body "$message." \
--head $branch \
--base $GITHUB_REF_NAME
--base $GITHUB_REF_NAME \
--label patch-release
6 changes: 4 additions & 2 deletions .github/workflows/prepare-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ jobs:
gh pr create --title "[$RELEASE_BRANCH_NAME] $message" \
--body "$message." \
--head $branch \
--base $RELEASE_BRANCH_NAME
--base $RELEASE_BRANCH_NAME \
--label release

create-pull-request-against-main:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -192,4 +193,5 @@ jobs:
gh pr create --title "$message" \
--body "$body" \
--head $branch \
--base main
--base main \
--label release
9 changes: 8 additions & 1 deletion .github/workflows/test_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ on:
pull_request:

env:
CORE_REPO_SHA: main
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
# For PRs you can change the inner fallback ('main')
# For pushes you change the outer fallback ('main')
CORE_REPO_SHA: ${{ github.event_name == 'pull_request' && (
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
'main'
) || 'main' }}
CONTRIB_REPO_SHA: main
PIP_EXISTS_ACTION: w

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/test_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ on:
pull_request:

env:
CORE_REPO_SHA: main
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
# For PRs you can change the inner fallback ('main')
# For pushes you change the outer fallback ('main')
CORE_REPO_SHA: ${{ github.event_name == 'pull_request' && (
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
'main'
) || 'main' }}
CONTRIB_REPO_SHA: main
PIP_EXISTS_ACTION: w

Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/test_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,14 @@ on:
pull_request:

env:
CORE_REPO_SHA: main
# Set the SHA to the branch name if the PR has a label 'release' or 'patch-release' otherwise, set it to 'main'
# For PRs you can change the inner fallback ('main')
# For pushes you change the outer fallback ('main')
CORE_REPO_SHA: ${{ github.event_name == 'pull_request' && (
contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.head.ref ||
contains(github.event.pull_request.labels.*.name, 'patch-release') && github.event.pull_request.base.ref ||
'main'
) || 'main' }}
CONTRIB_REPO_SHA: main
PIP_EXISTS_ACTION: w

Expand Down
Loading