зеркало из https://github.com/github/docs.git
feat: include label in PR creation (#23380)
This includes the `translation-batch` label when a new PR is created for a translation batch: https://github.com/github/docs-internal/issues?q=label%3Atranslation-batch+
This commit is contained in:
Родитель
2443a6a722
Коммит
13a304c14d
|
@ -162,7 +162,8 @@ jobs:
|
|||
gh pr create --title "New translation batch for ${{ matrix.language }}" \
|
||||
--base=main \
|
||||
--head=${{ steps.set-branch.outputs.BRANCH_NAME }} \
|
||||
--body-file /tmp/pr-body.txt || git push origin :${{ steps.set-branch.outputs.BRANCH_NAME }}
|
||||
--body-file /tmp/pr-body.txt || git push origin :${{ steps.set-branch.outputs.BRANCH_NAME }} \
|
||||
--label "translation-batch"
|
||||
|
||||
# When the maximum execution time is reached for this job, Actions cancels the workflow run.
|
||||
# This emits a notification for the first responder to triage.
|
||||
|
|
Загрузка…
Ссылка в новой задаче