refactor: refs #8512 Add 'master' branch check in description condition
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Guillermo Bonet 2025-02-03 10:54:17 +01:00
parent 55ec4aaba1
commit c1dd0eeb32
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ module.exports = Self => {
await fs.symlink(rootRelative, destinationRoot);
}
}
if (description) {
if (description && branch == 'master') {
let formatDesc;
const mainBranches = new Set(['master', 'test', 'dev']);
if (mainBranches.has(branch))