File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
- import { getProxyUrl } from " ../../config" ;
2
- import { Step } from " ./Step" ;
1
+ import { getProxyUrl } from ' ../../config' ;
2
+ import { Step } from ' ./Step' ;
3
3
4
4
/**
5
5
* Represents a commit.
6
6
*/
7
7
export interface Commit {
8
8
message : string ;
9
9
committer : string ;
10
+ committerEmail : string ;
10
11
tree : string ;
11
12
parent : string ;
12
13
author : string ;
@@ -45,6 +46,7 @@ class Action {
45
46
message ?: string ;
46
47
author ?: string ;
47
48
user ?: string ;
49
+ userEmail ?: string ;
48
50
attestation ?: string ;
49
51
lastStep ?: Step ;
50
52
proxyGitPath ?: string ;
@@ -62,15 +64,15 @@ class Action {
62
64
this . type = type ;
63
65
this . method = method ;
64
66
this . timestamp = timestamp ;
65
- this . project = repo . split ( "/" ) [ 0 ] ;
66
- this . repoName = repo . split ( "/" ) [ 1 ] ;
67
+ this . project = repo . split ( '/' ) [ 0 ] ;
68
+ this . repoName = repo . split ( '/' ) [ 1 ] ;
67
69
this . url = `${ getProxyUrl ( ) } /${ repo } ` ;
68
70
this . repo = repo ;
69
71
}
70
72
71
73
/**
72
74
* Add a step to the action.
73
- * @param {Step } step
75
+ * @param {Step } step
74
76
*/
75
77
addStep ( step : Step ) : void {
76
78
this . steps . push ( step ) ;
You can’t perform that action at this time.
0 commit comments