diff --git a/.drone.jsonnet b/.drone.jsonnet index debebe9..b3fd82f 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/**'], }, }; @@ -81,7 +81,7 @@ local PipelineTest = { 'lint', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -112,7 +112,7 @@ local PipelineSecurity = { 'test', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -176,7 +176,7 @@ local PipelineBuildPackage = { 'security', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -227,7 +227,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'], }, @@ -245,7 +245,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'], }, @@ -254,7 +254,7 @@ local PipelineBuildContainer(arch='amd64') = { 'security', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -352,7 +352,7 @@ local PipelineDocs = { target: '/${DRONE_REPO_NAME}', }, when: { - ref: ['refs/heads/master', 'refs/tags/**'], + ref: ['refs/heads/main', 'refs/tags/**'], }, }, ], @@ -363,7 +363,7 @@ local PipelineDocs = { 'build-container-arm', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -457,7 +457,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 fdd2b5d..a901fd6 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/** @@ -103,7 +103,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -134,7 +134,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -197,7 +197,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -253,7 +253,7 @@ steps: from_secret: docker_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -274,7 +274,7 @@ steps: from_secret: quay_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -284,7 +284,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -340,7 +340,7 @@ steps: from_secret: docker_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -361,7 +361,7 @@ steps: from_secret: quay_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -371,7 +371,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -427,7 +427,7 @@ steps: from_secret: docker_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -448,7 +448,7 @@ steps: from_secret: quay_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -458,7 +458,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -542,7 +542,7 @@ steps: target: /${DRONE_REPO_NAME} when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** image_pull_secrets: @@ -550,7 +550,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -646,7 +646,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** status: - success @@ -657,6 +657,6 @@ depends_on: --- kind: signature -hmac: 4ec55b89d64986413274dd64e7d37f195a051b6d8372f72057303d0d7d45780a +hmac: 4723d34a177bcdfd2400e148c361a173d18b8392231dc8c46d4cc27f6a8e40bb ... diff --git a/.github/settings.yml b/.github/settings.yml index f12b98d..e8fcf16 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 e4ded9c..27db8b1 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Annotation based documentation for your Ansible roles [![PyPI Release](https://img.shields.io/pypi/v/ansible-doctor.svg)](https://pypi.org/project/ansible-doctor/) [![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/ansible-doctor)](https://github.com/thegeeklab/ansible-doctor/graphs/contributors) [![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/thegeeklab/ansible-doctor) -[![License: GPL-3.0](https://img.shields.io/github/license/thegeeklab/ansible-doctor)](https://github.com/thegeeklab/ansible-doctor/blob/master/LICENSE) +[![License: GPL-3.0](https://img.shields.io/github/license/thegeeklab/ansible-doctor)](https://github.com/thegeeklab/ansible-doctor/blob/main/LICENSE) This project is based on the idea (and at some parts on the code) of [ansible-autodoc](https://github.com/AndresBott/ansible-autodoc) by Andres Bott so credits goes to him for his work. @@ -23,8 +23,8 @@ You can find the full documentation at [https://ansible-doctor.geekdocs.de](http ## Contributors Special thanks goes to all [contributors](https://github.com/thegeeklab/ansible-doctor/graphs/contributors). If you would like to contribute, -please see the [instructions](https://github.com/thegeeklab/ansible-doctor/blob/master/CONTRIBUTING.md). +please see the [instructions](https://github.com/thegeeklab/ansible-doctor/blob/main/CONTRIBUTING.md). ## License -This project is licensed under the GPL-3.0 License - see the [LICENSE](https://github.com/thegeeklab/ansible-doctor/blob/master/LICENSE) file for details. +This project is licensed under the GPL-3.0 License - see the [LICENSE](https://github.com/thegeeklab/ansible-doctor/blob/main/LICENSE) file for details. diff --git a/docs/config.yaml b/docs/config.yaml index 0c395b2..dc2fde6 100644 --- a/docs/config.yaml +++ b/docs/config.yaml @@ -22,7 +22,7 @@ params: geekdocToC: 3 geekdocRepo: https://github.com/thegeeklab/ansible-doctor - geekdocEditPath: edit/master/docs/content + geekdocEditPath: edit/main/docs/content geekdocDateFormat: "Jan 2, 2006" geekdocSearch: true diff --git a/docs/content/_index.md b/docs/content/_index.md index a7796b2..ffaeec7 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -10,7 +10,7 @@ title: Documentation [![PyPI Release](https://img.shields.io/pypi/v/ansible-doctor.svg)](https://pypi.org/project/ansible-doctor/) [![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/ansible-doctor)](https://github.com/thegeeklab/ansible-doctor/graphs/contributors) [![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/thegeeklab/ansible-doctor) -[![License: GPL-3.0](https://img.shields.io/github/license/thegeeklab/ansible-doctor)](https://github.com/thegeeklab/ansible-doctor/blob/master/LICENSE) +[![License: GPL-3.0](https://img.shields.io/github/license/thegeeklab/ansible-doctor)](https://github.com/thegeeklab/ansible-doctor/blob/main/LICENSE) This project is based on the idea (and at some parts on the code) of [ansible-autodoc](https://github.com/AndresBott/ansible-autodoc) by Andres Bott so credits goes to him for his work.