File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
specs/ingestion/common/schemas Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -53,14 +53,10 @@ export async function pushGeneratedCode(): Promise<void> {
53
53
return ;
54
54
}
55
55
56
- let baseMessage = `%s ${ text . commitEndMessage } ` ;
57
- if ( IS_RELEASE_COMMIT || isMainBranch ) {
58
- console . log ( 'Processing release commit' ) ;
59
- baseMessage = `${ text . commitReleaseMessage } [skip ci]` ;
60
- }
56
+ let baseMessage = IS_RELEASE_COMMIT && isMainBranch ? text . commitReleaseMessage : `%s ${ text . commitEndMessage } ` ;
61
57
62
58
const commitMessage = await run (
63
- `git show -s ${ baseBranch } --format="${ baseMessage }
59
+ `git show -s ${ baseBranch } --format="${ baseMessage } [skip-ci]
64
60
65
61
Co-authored-by: %an <%ae>
66
62
%(trailers:key=Co-authored-by)"` ,
Original file line number Diff line number Diff line change 7
7
$ref : ' ./common.yml#/eventID'
8
8
runID :
9
9
$ref : ' ./common.yml#/runID'
10
- parentID :
11
- type : string
12
- description : The parent event, the cause of this event.
13
- example : 6c02aeb1-775e-418e-870b-1faccd4b2c0f
14
10
status :
15
11
$ref : ' #/EventStatus'
16
12
type :
You can’t perform that action at this time.
0 commit comments