fix: fix default branch in ci condig
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2022-09-23 23:05:43 +02:00
parent ffee876971
commit 619a7169ae
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: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
@ -71,7 +71,7 @@ local PipelineDeployment(scenario='rocky9') = {
'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-rocky9',
@ -147,7 +147,7 @@ local PipelineNotification = {
],
trigger: {
status: ['success', 'failure'],
ref: ['refs/heads/master', 'refs/tags/**'],
ref: ['refs/heads/main', 'refs/tags/**'],
},
};

View File

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