0
0
mirror of https://github.com/thegeeklab/wp-github-comment.git synced 2024-11-24 23:10:39 +00:00

chore: replace master by main as default branch

This commit is contained in:
Robert Kaussow 2021-01-17 20:31:27 +01:00
parent 41779c9140
commit bdb4bc71ef
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
4 changed files with 24 additions and 24 deletions

View File

@ -67,7 +67,7 @@ local PipelineTest = {
}, },
], ],
trigger: { trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
}, },
}; };
@ -137,7 +137,7 @@ local PipelineBuildBinaries = {
'test', 'test',
], ],
trigger: { 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' }, password: { from_secret: 'docker_password' },
}, },
when: { when: {
ref: ['refs/heads/master', 'refs/tags/**'], ref: ['refs/heads/main', 'refs/tags/**'],
}, },
depends_on: ['dryrun'], depends_on: ['dryrun'],
}, },
@ -205,7 +205,7 @@ local PipelineBuildContainer(arch='amd64') = {
password: { from_secret: 'quay_password' }, password: { from_secret: 'quay_password' },
}, },
when: { when: {
ref: ['refs/heads/master', 'refs/tags/**'], ref: ['refs/heads/main', 'refs/tags/**'],
}, },
depends_on: ['dryrun'], depends_on: ['dryrun'],
}, },
@ -214,7 +214,7 @@ local PipelineBuildContainer(arch='amd64') = {
'test', 'test',
], ],
trigger: { 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', 'build-container-arm64',
], ],
trigger: { trigger: {
ref: ['refs/heads/master', 'refs/tags/**'], ref: ['refs/heads/main', 'refs/tags/**'],
status: ['success', 'failure'], status: ['success', 'failure'],
}, },
}; };

View File

@ -48,7 +48,7 @@ image_pull_secrets:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
- refs/pull/** - refs/pull/**
@ -105,7 +105,7 @@ image_pull_secrets:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
- refs/pull/** - refs/pull/**
@ -160,7 +160,7 @@ steps:
from_secret: docker_username from_secret: docker_username
when: when:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- dryrun - dryrun
@ -181,7 +181,7 @@ steps:
from_secret: quay_username from_secret: quay_username
when: when:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- dryrun - dryrun
@ -191,7 +191,7 @@ image_pull_secrets:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
- refs/pull/** - refs/pull/**
@ -246,7 +246,7 @@ steps:
from_secret: docker_username from_secret: docker_username
when: when:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- dryrun - dryrun
@ -267,7 +267,7 @@ steps:
from_secret: quay_username from_secret: quay_username
when: when:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- dryrun - dryrun
@ -277,7 +277,7 @@ image_pull_secrets:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
- refs/pull/** - refs/pull/**
@ -332,7 +332,7 @@ steps:
from_secret: docker_username from_secret: docker_username
when: when:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- dryrun - dryrun
@ -353,7 +353,7 @@ steps:
from_secret: quay_username from_secret: quay_username
when: when:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- dryrun - dryrun
@ -363,7 +363,7 @@ image_pull_secrets:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
- refs/pull/** - refs/pull/**
@ -454,7 +454,7 @@ image_pull_secrets:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
status: status:
- success - success
@ -468,6 +468,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 35066688a49368c27562e5ed2fab53936806fb923de6920b1195e4bd3d6d8e99 hmac: 1216f3597b41f2232f7e7fa734b0df5dc8e977c75ef6eece3f3fb38074d60477
... ...

View File

@ -8,7 +8,7 @@ repository:
has_wiki: false has_wiki: false
has_downloads: true has_downloads: true
default_branch: master default_branch: main
allow_squash_merge: true allow_squash_merge: true
allow_merge_commit: true allow_merge_commit: true
@ -44,7 +44,7 @@ labels:
description: This will not be worked on description: This will not be worked on
branches: branches:
- name: master - name: main
protection: protection:
required_pull_request_reviews: null required_pull_request_reviews: null
required_status_checks: required_status_checks:

View File

@ -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) [![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) [![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) [![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. Drone plugin to add comments to GitHub Issues/PR's.
@ -49,8 +49,8 @@ docker run --rm \
## Contributors ## Contributors
Special thanks goes to all [contributors](https://github.com/thegeeklab/drone-github-comment/graphs/contributors). If you would like to contribute, 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 ## 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.