fix: use main as default branch in ci config

This commit is contained in:
Robert Kaussow 2022-09-25 13:29:31 +02:00
parent cf84b24c9c
commit b7ac47cd70
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 5 additions and 5 deletions

View File

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