refactor: refs #8512 Add 'master' branch check in description condition
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
55ec4aaba1
commit
c1dd0eeb32
|
@ -146,7 +146,7 @@ module.exports = Self => {
|
||||||
await fs.symlink(rootRelative, destinationRoot);
|
await fs.symlink(rootRelative, destinationRoot);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (description) {
|
if (description && branch == 'master') {
|
||||||
let formatDesc;
|
let formatDesc;
|
||||||
const mainBranches = new Set(['master', 'test', 'dev']);
|
const mainBranches = new Set(['master', 'test', 'dev']);
|
||||||
if (mainBranches.has(branch))
|
if (mainBranches.has(branch))
|
||||||
|
|
Loading…
Reference in New Issue