chore: switch to main as default branch
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2032774a1b
commit
390a89f5a9
@ -37,7 +37,7 @@ local PipelineLinting = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
trigger: {
|
trigger: {
|
||||||
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
|
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -73,12 +73,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: [
|
||||||
'linting',
|
'linting',
|
||||||
@ -113,7 +113,7 @@ local PipelineNotification = {
|
|||||||
],
|
],
|
||||||
trigger: {
|
trigger: {
|
||||||
status: ['success', 'failure'],
|
status: ['success', 'failure'],
|
||||||
ref: ['refs/heads/master', 'refs/tags/**'],
|
ref: ['refs/heads/main', 'refs/tags/**'],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
10
.drone.yml
10
.drone.yml
@ -30,7 +30,7 @@ steps:
|
|||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/main
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
- refs/pull/**
|
- refs/pull/**
|
||||||
|
|
||||||
@ -66,11 +66,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/**
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ steps:
|
|||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/main
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
@ -115,6 +115,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 9c6aaa90f93415072439b1a54a99fe22ee142fe54aae99a74afe77b8cc868d51
|
hmac: 8dc60de0df813d4eb8d400b71986395694b071b780deeca06ffcc61cba550de9
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -8,7 +8,7 @@ galaxy_info:
|
|||||||
# @meta description: >
|
# @meta description: >
|
||||||
# [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.hcloud_server)
|
# [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.hcloud_server)
|
||||||
# [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.hcloud_server?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.hcloud_server)
|
# [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.hcloud_server?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.hcloud_server)
|
||||||
# [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?label=license)](https://gitea.rknet.org/ansible/xoxys.hcloud_server/src/branch/master/LICENSE)
|
# [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg?label=license)](https://gitea.rknet.org/ansible/xoxys.hcloud_server/src/branch/main/LICENSE)
|
||||||
#
|
#
|
||||||
# Manage Hetzner Cloud server instances
|
# Manage Hetzner Cloud server instances
|
||||||
# @end
|
# @end
|
||||||
|
Loading…
Reference in New Issue
Block a user