File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
.github/actions/create-pr Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,19 @@ inputs:
41
41
github_token :
42
42
description : " GitHub token for GitHub CLI"
43
43
required : true
44
+ target_branch :
45
+ description : " Branch to target when creating a PR against (develop, by default)"
46
+ required : false
47
+ default : develop
48
+
44
49
outputs :
45
50
pull_request_id :
46
51
description : " Pull request ID created"
47
52
value : ${{ steps.create-pr.outputs.pull_request_id }}
48
53
temp_branch :
49
54
description : " Temporary branch created with staged changed"
50
55
value : ${{ steps.create-pr.outputs.temp_branch }}
56
+
51
57
runs :
52
58
using : " composite"
53
59
steps :
68
74
env :
69
75
FILES : ${{ inputs.files }}
70
76
TEMP_BRANCH_PREFIX : ${{ inputs.temp_branch_prefix }}
71
- GH_TOKEN : ${{ inputs.github_token }}
72
77
PR_TITLE : ${{ inputs.pull_request_title }}
78
+ BASE_BRANCH : ${{ inputs.target_branch }}
79
+ GH_TOKEN : ${{ inputs.github_token }}
73
80
shell : bash
74
81
- id : cleanup
75
82
name : Cleanup orphaned branch
You can’t perform that action at this time.
0 commit comments