File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -314,8 +314,15 @@ class CommitProcessor {
314314 await runGitCommand ( this . processor . repoPaths [ repoid ] , `add -A` ) ;
315315 await runGitCommand (
316316 this . processor . repoPaths [ repoid ] ,
317- `commit -m "${ this . processor . config ?. syncCommitPrefix } [skip ci] ${ this . commit . message } " --author="${ this . commit . authorName } <${ this . commit . authorEmail } >" --date="${ this . commit . authorDate } "`
317+ `commit -m "${ this . processor . config ?. syncCommitPrefix } ${
318+ repoid != 'config' && this . processor . config ?. repos [ repoid ] ?. commitTag
319+ ? `${ this . processor . config ?. repos [ repoid ] ?. commitTag } `
320+ : ''
321+ } ${ this . commit . message } " --author="${ this . commit . authorName } <${ this . commit . authorEmail } >" --date="${
322+ this . commit . authorDate
323+ } "`
318324 ) ;
325+
319326 if ( ! this . processor . processOptions . skipPush ) {
320327 await runGitCommand ( this . processor . repoPaths [ repoid ] , `push` ) ;
321328 }
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ export type FileAction = 'A' | 'D' | 'M';
33
44export interface RepoConfig {
55 url : string ;
6+ commitTag ?: string ; // eg. [skip ci] for skipping github pipeline
67}
78
89export interface RepoIdentifier {
You can’t perform that action at this time.
0 commit comments