This repository was archived by the owner on Aug 15, 2024. It is now read-only.
File tree 1 file changed +1
-29
lines changed 1 file changed +1
-29
lines changed Original file line number Diff line number Diff line change 13
13
// limitations under the License.
14
14
15
15
import * as core from '@actions/core' ;
16
- import { GitHub , Manifest } from 'release-please' ;
16
+ import { GitHub , Manifest , CreatedRelease , PullRequest } from 'release-please' ;
17
17
18
18
const DEFAULT_CONFIG_FILE = 'release-please-config.json' ;
19
19
const DEFAULT_MANIFEST_FILE = '.release-please-manifest.json' ;
@@ -42,34 +42,6 @@ interface ActionInputs {
42
42
includeComponentInTag ?: boolean ;
43
43
}
44
44
45
- // TODO: replace this interface is exported from release-please
46
- interface PullRequest {
47
- readonly headBranchName : string ;
48
- readonly baseBranchName : string ;
49
- readonly number : number ;
50
- readonly title : string ;
51
- readonly body : string ;
52
- readonly labels : string [ ] ;
53
- readonly files : string [ ] ;
54
- readonly sha ?: string ;
55
- }
56
- // TODO: replace this interface is exported from release-please
57
- interface CreatedRelease {
58
- id : number ;
59
- path : string ;
60
- version : string ;
61
- major : number ;
62
- minor : number ;
63
- patch : number ;
64
- name ?: string ;
65
- tagName : string ;
66
- sha : string ;
67
- notes ?: string ;
68
- url : string ;
69
- draft ?: boolean ;
70
- uploadUrl ?: string ;
71
- }
72
-
73
45
function parseInputs ( ) : ActionInputs {
74
46
const inputs : ActionInputs = {
75
47
token : core . getInput ( 'token' , { required : true } ) ,
You can’t perform that action at this time.
0 commit comments