fix: use main as default branch in ci config
This commit is contained in:
parent
cf84b24c9c
commit
b7ac47cd70
|
@ -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/**'],
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue