From c1d8b1ca5aa7fe7889891730adf98e526f294fd5 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 20 Jun 2022 22:20:16 +0200 Subject: [PATCH] chore: switch to main as default branch --- .drone.jsonnet | 10 +++++----- .drone.yml | 10 +++++----- meta/main.yml | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 1ae3751..ef3f9bf 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/**'], }, }; @@ -68,7 +68,7 @@ local PipelineDeployment(scenario='centos7') = { }, ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**'], + ref: ['refs/heads/main', 'refs/tags/**'], }, }; @@ -104,7 +104,7 @@ local PipelineDocumentation = { target_branch: 'docs', }, when: { - ref: ['refs/heads/master'], + ref: ['refs/heads/main'], }, }, ], @@ -112,7 +112,7 @@ local PipelineDocumentation = { 'linting', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -144,7 +144,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 ad5b7e6..55fdbbd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -30,7 +30,7 @@ steps: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -66,11 +66,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/** @@ -104,7 +104,7 @@ steps: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** status: - success @@ -115,6 +115,6 @@ depends_on: --- kind: signature -hmac: bc55d2db54bfff00e49cf1c349b959772a219a22c9742b7e56223f7615de7948 +hmac: ef9cc213484fda9a368b74f81da589113973042598b3fadcce96f193e847f64d ... diff --git a/meta/main.yml b/meta/main.yml index b90c353..0dc22c5 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.matrix) # [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.matrix?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.matrix) - # [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.matrix/src/branch/master/LICENSE) + # [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.matrix/src/branch/main/LICENSE) # # Setup a [matrix-synapse](https://github.com/matrix-org/synapse) chat server. Matrix is an # ambitious new ecosystem for open federated Instant Messaging and VoIP.