chore: switch to main as default branch
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2022-06-20 22:20:54 +02:00
parent db846ddaf8
commit 733a1fb8c2
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 11 additions and 11 deletions

View File

@ -37,7 +37,7 @@ local PipelineLinting = {
}, },
], ],
trigger: { trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
}, },
}; };
@ -71,7 +71,7 @@ local PipelineDeployment(scenario='rocky8') = {
'linting', 'linting',
], ],
trigger: { trigger: {
ref: ['refs/heads/master', 'refs/tags/**'], ref: ['refs/heads/main', 'refs/tags/**'],
}, },
}; };
@ -107,12 +107,12 @@ local PipelineDocumentation = {
target_branch: 'docs', target_branch: 'docs',
}, },
when: { when: {
ref: ['refs/heads/master'], ref: ['refs/heads/main'],
}, },
}, },
], ],
trigger: { trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
}, },
depends_on: [ depends_on: [
'testing-rocky8', 'testing-rocky8',
@ -147,7 +147,7 @@ local PipelineNotification = {
], ],
trigger: { trigger: {
status: ['success', 'failure'], status: ['success', 'failure'],
ref: ['refs/heads/master', 'refs/tags/**'], ref: ['refs/heads/main', 'refs/tags/**'],
}, },
}; };

View File

@ -30,7 +30,7 @@ steps:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
- refs/pull/** - refs/pull/**
@ -60,7 +60,7 @@ steps:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
depends_on: depends_on:
@ -98,11 +98,11 @@ steps:
from_secret: gitea_username from_secret: gitea_username
when: when:
ref: ref:
- refs/heads/master - refs/heads/main
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
- refs/pull/** - refs/pull/**
@ -136,7 +136,7 @@ steps:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
status: status:
- success - success
@ -147,6 +147,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 619e3b4d02a320a517f1cdf459c386c7227db5fb074a0549f33f5c19d7a69d7f hmac: fd9ab4908c1915e45135a33fd63553a901961a42419a80ad90df2a86cfda48c9
... ...