File tree Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : ' Create PR'
2
2
description : ' create PR with configuration'
3
+ inputs :
4
+ REVIEWERS :
5
+ description : " Add reviewers to PR"
6
+ required : true
3
7
runs :
4
8
using : ' docker'
5
9
image : ' Dockerfile'
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
# Create Pull Request (by default on current branch)
4
- gh pr create --title " Release ${VERSION} " --body " This is an autogenerated PR to prepare for the release"
4
+ gh pr create \
5
+ --title " Release ${VERSION} " \
6
+ --body " This is an autogenerated PR to prepare for the release" \
7
+ --reviewer " ${INPUT_REVIEWERS} "
Original file line number Diff line number Diff line change 27
27
- name : Create all-in-one installation script
28
28
uses : ./.github/actions/gen-install-scripts
29
29
with :
30
- IMAGE_URL : ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_RELEASE_REPO }}:${{ env.VERSION }}
31
- version : ${{ env.VERSION }}
30
+ IMAGE_URL : ${{ secrets.DOCKER_RELEASE_REPO }}:${{ env.VERSION }}
32
31
33
32
- name : Create branch and push it
34
33
run : |
45
44
- name : Create PR
46
45
uses : ./.github/actions/create-pr
47
46
env :
48
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
48
+ with :
49
+ REVIEWERS : antonlisovenko,vasilevp,leo-ri
Original file line number Diff line number Diff line change 57
57
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
58
with :
59
59
tag_name : ${{ steps.tag.outputs.tag }}
60
- release_name : Release ${{ steps.tag.outputs.version }}
60
+ release_name : ${{ steps.tag.outputs.tag }}
61
61
body_path : changelog.md
62
62
draft : true
63
63
prerelease : false
You can’t perform that action at this time.
0 commit comments