diff --git a/.drone.jsonnet b/.drone.jsonnet index 4c22850..28b07ad 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -67,7 +67,7 @@ local PipelineTest = { }, ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -137,7 +137,7 @@ local PipelineBuildBinaries = { 'test', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -187,7 +187,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'], }, @@ -205,7 +205,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'], }, @@ -214,7 +214,7 @@ local PipelineBuildContainer(arch='amd64') = { 'test', ], trigger: { - ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], + ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'], }, }; @@ -309,7 +309,7 @@ local PipelineNotifications = { 'build-container-arm64', ], 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 afc278e..d07eb59 100644 --- a/.drone.yml +++ b/.drone.yml @@ -48,7 +48,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -105,7 +105,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -160,7 +160,7 @@ steps: from_secret: docker_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -181,7 +181,7 @@ steps: from_secret: quay_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -191,7 +191,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -246,7 +246,7 @@ steps: from_secret: docker_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -267,7 +267,7 @@ steps: from_secret: quay_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -277,7 +277,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -332,7 +332,7 @@ steps: from_secret: docker_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -353,7 +353,7 @@ steps: from_secret: quay_username when: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** depends_on: - dryrun @@ -363,7 +363,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** - refs/pull/** @@ -454,7 +454,7 @@ image_pull_secrets: trigger: ref: - - refs/heads/master + - refs/heads/main - refs/tags/** status: - success @@ -468,6 +468,6 @@ depends_on: --- kind: signature -hmac: 35066688a49368c27562e5ed2fab53936806fb923de6920b1195e4bd3d6d8e99 +hmac: 1216f3597b41f2232f7e7fa734b0df5dc8e977c75ef6eece3f3fb38074d60477 ... diff --git a/.github/settings.yml b/.github/settings.yml index 59e92ec..44e73eb 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -8,7 +8,7 @@ repository: has_wiki: false has_downloads: true - default_branch: master + default_branch: main allow_squash_merge: true allow_merge_commit: true @@ -44,7 +44,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 dae663d..c1d7c21 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Drone plugin to add comments to GitHub Issues/PRs [![Go Report Card](https://goreportcard.com/badge/github.com/thegeeklab/drone-github-comment)](https://goreportcard.com/report/github.com/thegeeklab/drone-github-comment) [![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/drone-github-comment)](https://github.com/thegeeklab/drone-github-comment/graphs/contributors) [![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/thegeeklab/drone-github-comment) -[![License: MIT](https://img.shields.io/github/license/thegeeklab/drone-github-comment)](https://github.com/thegeeklab/drone-github-comment/blob/master/LICENSE) +[![License: MIT](https://img.shields.io/github/license/thegeeklab/drone-github-comment)](https://github.com/thegeeklab/drone-github-comment/blob/main/LICENSE) Drone plugin to add comments to GitHub Issues/PR's. @@ -49,8 +49,8 @@ docker run --rm \ ## Contributors Special thanks goes to all [contributors](https://github.com/thegeeklab/drone-github-comment/graphs/contributors). If you would like to contribute, -please see the [instructions](https://github.com/thegeeklab/drone-github-comment/blob/master/CONTRIBUTING.md). +please see the [instructions](https://github.com/thegeeklab/drone-github-comment/blob/main/CONTRIBUTING.md). ## License -This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/drone-github-comment/blob/master/LICENSE) file for details. +This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/drone-github-comment/blob/main/LICENSE) file for details.