Merge pull request #44055 from ClickHouse/assign-release-prs

Assign release prs
This commit is contained in:
Mikhail f. Shiryaev 2022-12-09 12:58:14 +01:00 committed by GitHub
commit 44fde45aa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -61,6 +61,7 @@ jobs:
committer: "robot-clickhouse <robot-clickhouse@users.noreply.github.com>" committer: "robot-clickhouse <robot-clickhouse@users.noreply.github.com>"
commit-message: Update version_date.tsv and changelogs after ${{ env.GITHUB_TAG }} commit-message: Update version_date.tsv and changelogs after ${{ env.GITHUB_TAG }}
branch: auto/${{ env.GITHUB_TAG }} branch: auto/${{ env.GITHUB_TAG }}
assignees: ${{ github.event.sender.login }} # assign the PR to the tag pusher
delete-branch: true delete-branch: true
title: Update version_date.tsv and changelogs after ${{ env.GITHUB_TAG }} title: Update version_date.tsv and changelogs after ${{ env.GITHUB_TAG }}
labels: do not test labels: do not test

View File

@ -388,7 +388,8 @@ class Release:
body_file = get_abs_path(".github/PULL_REQUEST_TEMPLATE.md") body_file = get_abs_path(".github/PULL_REQUEST_TEMPLATE.md")
self.run( self.run(
f"gh pr create --repo {self.repo} --title 'Update version after " f"gh pr create --repo {self.repo} --title 'Update version after "
f"release' --head {helper_branch} --body-file '{body_file}'" f"release' --head {helper_branch} --body-file '{body_file}' "
"--label 'do not test' --assignee @me"
) )
# Here the testing part is done # Here the testing part is done
yield yield