0
0
mirror of https://github.com/thegeeklab/corenetworks.git synced 2024-11-21 21:20:38 +00:00

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
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
4 changed files with 19 additions and 19 deletions

View File

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

View File

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

View File

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

View File

@ -6,7 +6,7 @@
[![PyPI Release](https://img.shields.io/pypi/v/corenetworks.svg)](https://pypi.org/project/corenetworks/) [![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) [![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) [![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. 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 ## 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.