From 2069cb6c058c3e62a3f7b6ab1b2faf64d0b35680 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 3 Jan 2021 21:28:03 +0100 Subject: [PATCH] chore: replace master by main as default branch --- .drone.jsonnet | 16 ++++++++-------- .drone.yml | 30 +++++++++++++++--------------- .github/settings.yml | 4 ++-- README.md | 6 +++--- 4 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 1319ff8..29b23c6 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -54,7 +54,7 @@ local PipelineLint = { }, ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -80,7 +80,7 @@ local PipelineTest = { PythonVersion(pyversion='3.9'), ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, depends_on: [ 'lint', @@ -115,7 +115,7 @@ local PipelineSecurity = { 'test', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -179,7 +179,7 @@ local PipelineBuildPackage = { 'security', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -232,7 +232,7 @@ local PipelineBuildContainer(arch='amd64') = { password: { from_secret: 'docker_password' }, }, when: { - ref: ['refs/heads/master', 'refs/tags/**'], + ref: ['refs/heads/main', 'refs/tags/**'], }, depends_on: ['dryrun'], }, @@ -250,7 +250,7 @@ local PipelineBuildContainer(arch='amd64') = { password: { from_secret: 'quay_password' }, }, when: { - ref: ['refs/heads/master', 'refs/tags/**'], + ref: ['refs/heads/main', 'refs/tags/**'], }, depends_on: ['dryrun'], }, @@ -259,7 +259,7 @@ local PipelineBuildContainer(arch='amd64') = { 'security', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -354,7 +354,7 @@ local PipelineNotifications = { 'build-container-arm', ], 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 c0cc99e..ef2c8e3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -33,7 +33,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -108,7 +108,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -140,7 +140,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -203,7 +203,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -261,7 +261,7 @@ steps: from_secret: docker_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -282,7 +282,7 @@ steps: from_secret: quay_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -292,7 +292,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -350,7 +350,7 @@ steps: from_secret: docker_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -371,7 +371,7 @@ steps: from_secret: quay_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -381,7 +381,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -439,7 +439,7 @@ steps: from_secret: docker_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -460,7 +460,7 @@ steps: from_secret: quay_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -470,7 +470,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -561,7 +561,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** status: - success @@ -575,6 +575,6 @@ depends_on: --- kind: signature -hmac: 595b9f73481481804eb918efee5275483a9b3d147e0d3ac6b70e49a844f11c90 +hmac: 80a91282f1eac587143c1df4b82e63893fa8beb90f64867b13edf24b54072c4d ... diff --git a/.github/settings.yml b/.github/settings.yml index e4b83b7..759d4f2 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -10,7 +10,7 @@ repository: has_wiki: false has_downloads: false - default_branch: master + default_branch: main allow_squash_merge: true allow_merge_commit: true @@ -46,7 +46,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 cc64a83..c9c8cee 100644 --- a/README.md +++ b/README.md @@ -10,15 +10,15 @@ Automate cloning a single branch from a list of repositories [![PyPi Release](https://img.shields.io/pypi/v/git-batch.svg)](https://pypi.org/project/git-batch/) [![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/git-batch)](https://github.com/thegeeklab/git-batch/graphs/contributors) [![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/thegeeklab/git-batch) -[![License: MIT](https://img.shields.io/github/license/thegeeklab/git-batch)](https://github.com/thegeeklab/git-batch/blob/master/LICENSE) +[![License: MIT](https://img.shields.io/github/license/thegeeklab/git-batch)](https://github.com/thegeeklab/git-batch/blob/main/LICENSE) Simple tool to automate cloning a single branch from a list of repositories. ## Contributors Special thanks goes to all [contributors](https://github.com/thegeeklab/git-batch/graphs/contributors). If you would like to contribute, -please see the [instructions](https://github.com/thegeeklab/git-batch/blob/master/CONTRIBUTING.md). +please see the [instructions](https://github.com/thegeeklab/git-batch/blob/main/CONTRIBUTING.md). ## License -This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/git-batch/blob/master/LICENSE) file for details. +This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/git-batch/blob/main/LICENSE) file for details.