From e5540675bd304e403a75aaf6653edb6ab21980f1 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 3 Jan 2021 13:53:45 +0100 Subject: [PATCH] chore: replace master by main as default branch --- .drone.jsonnet | 14 +++++++------- .drone.yml | 16 ++++++++-------- .github/settings.yml | 4 ++-- README.md | 4 ++-- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 30e9d4f..ee154ba 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -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'], }, }; diff --git a/.drone.yml b/.drone.yml index 1ab0750..a59dcf7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ... diff --git a/.github/settings.yml b/.github/settings.yml index 8309b73..fab3fe3 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -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: diff --git a/README.md b/README.md index 6a7ef41..a65116e 100644 --- a/README.md +++ b/README.md @@ -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.