From e30e912f680ca135e147cd1dd7978bac666959e9 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 20 Jun 2022 22:20:27 +0200 Subject: [PATCH] chore: switch to main as default branch --- .drone.jsonnet | 10 +++++----- .drone.yml | 14 +++++++------- meta/main.yml | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 439fb8e..a4bffd4 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -37,7 +37,7 @@ local PipelineLinting = { }, ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -71,7 +71,7 @@ local PipelineDeployment(scenario='centos7') = { 'linting', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -107,12 +107,12 @@ local PipelineDocumentation = { target_branch: 'docs', }, when: { - ref: ['refs/heads/master'], + ref: ['refs/heads/main'], }, }, ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, depends_on: [ 'testing-centos7', @@ -148,7 +148,7 @@ local PipelineNotification = { ], trigger: { status: ['success', 'failure'], - ref: ['refs/heads/master', 'refs/tags/**'], + ref: ['refs/heads/main', 'refs/tags/**'], }, }; diff --git a/.drone.yml b/.drone.yml index 076d34a..bdc4434 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,7 +30,7 @@ steps: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -60,7 +60,7 @@ steps: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -93,7 +93,7 @@ steps: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -132,11 +132,11 @@ steps: from_secret: gitea_username when: ref: - - refs/heads/master + - refs/heads/main trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -171,7 +171,7 @@ steps: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** status: - success @@ -182,6 +182,6 @@ depends_on: --- kind: signature -hmac: 916e22d58f38ffdeb4b10459c2ebdef15e69b4a3704bb1d2679e0b0629865981 +hmac: c4104cea88856cd544fa93fa090e77bf93738eb19ea96f8268ebb3b4d1919bf0 ... diff --git a/meta/main.yml b/meta/main.yml index 7afdd2f..a925d1f 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -8,7 +8,7 @@ galaxy_info: # @meta description: > # [![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.postgres) # [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.postgres?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.postgres) - # [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.postgres/src/branch/master/LICENSE) + # [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.postgres/src/branch/main/LICENSE) # # Setup a [PostgreSQL](https://www.postgresql.org/) database server. PostgreSQL is a powerful, # open source object-relational database system with over 30 years of active development that