chore: replace master by main as default branch

This commit is contained in:
Robert Kaussow 2021-01-03 13:53:45 +01:00
parent 83a4b6fad3
commit e5540675bd
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
4 changed files with 19 additions and 19 deletions

View File

@ -52,7 +52,7 @@ local PipelineLint = {
},
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
@ -99,7 +99,7 @@ local PipelineTest = {
'lint',
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
@ -130,7 +130,7 @@ local PipelineSecurity = {
'test',
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
@ -197,7 +197,7 @@ local PipelineBuildPackage = {
'security',
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
@ -298,7 +298,7 @@ local PipelineDocs = {
target: '/${DRONE_REPO_NAME}',
},
when: {
ref: ['refs/heads/master', 'refs/tags/**'],
ref: ['refs/heads/main', 'refs/tags/**'],
},
},
],
@ -306,7 +306,7 @@ local PipelineDocs = {
'build-package',
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'],
ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
},
};
@ -338,7 +338,7 @@ local PipelineNotifications = {
'docs',
],
trigger: {
ref: ['refs/heads/master', 'refs/tags/**'],
ref: ['refs/heads/main', 'refs/tags/**'],
status: ['success', 'failure'],
},
};

View File

@ -32,7 +32,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**
@ -118,7 +118,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**
@ -149,7 +149,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**
@ -214,7 +214,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**
@ -301,7 +301,7 @@ steps:
target: /${DRONE_REPO_NAME}
when:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
image_pull_secrets:
@ -309,7 +309,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**
@ -347,7 +347,7 @@ image_pull_secrets:
trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
status:
- success
@ -358,6 +358,6 @@ depends_on:
---
kind: signature
hmac: 1b2b0228687be4880c17d183c54b83a4d1a4d1adc1f3d6c4c92d180cecdaffbb
hmac: 03108e79da796974a91f9af64a24f4129005357b41a1e280be964ee884f3a085
...

View File

@ -11,7 +11,7 @@ repository:
has_wiki: false
has_downloads: false
default_branch: master
default_branch: main
allow_squash_merge: true
allow_merge_commit: true
@ -47,7 +47,7 @@ labels:
description: This will not be worked on
branches:
- name: master
- name: main
protection:
required_pull_request_reviews: null
required_status_checks:

View File

@ -6,7 +6,7 @@
[![PyPI Release](https://img.shields.io/pypi/v/corenetworks.svg)](https://pypi.org/project/corenetworks/)
[![Codecov](https://img.shields.io/codecov/c/github/thegeeklab/corenetworks)](https://codecov.io/gh/thegeeklab/corenetworks)
[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/corenetworks)](https://github.com/thegeeklab/corenetworks/graphs/contributors)
[![License: MIT](https://img.shields.io/github/license/thegeeklab/corenetworks)](https://github.com/thegeeklab/corenetworks/blob/master/LICENSE)
[![License: MIT](https://img.shields.io/github/license/thegeeklab/corenetworks)](https://github.com/thegeeklab/corenetworks/blob/main/LICENSE)
Python library for the [https://core-networks.de](https://beta.api.core-networks.de/doc/) DNS API.
@ -18,4 +18,4 @@ Special thanks goes to all [contributors](https://github.com/thegeeklab/corenetw
## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/corenetworks/blob/master/LICENSE) file for details.
This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/corenetworks/blob/main/LICENSE) file for details.