chore: replace master by main as default branch

This commit is contained in:
Robert Kaussow 2021-01-04 16:49:49 +01:00
parent 8d720fd7ca
commit 58d1ea6758
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
4 changed files with 12 additions and 12 deletions

View File

@ -79,7 +79,7 @@ local PipelineTest = {
}, },
], ],
trigger: { trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
}, },
}; };
@ -149,7 +149,7 @@ local PipelineBuildBinaries = {
'test', 'test',
], ],
trigger: { trigger: {
ref: ['refs/heads/master', 'refs/tags/**', 'refs/pull/**'], ref: ['refs/heads/main', 'refs/tags/**', 'refs/pull/**'],
}, },
}; };
@ -181,7 +181,7 @@ local PipelineNotifications = {
'build-binaries', 'build-binaries',
], ],
trigger: { trigger: {
ref: ['refs/heads/master', 'refs/tags/**'], ref: ['refs/heads/main', 'refs/tags/**'],
status: ['success', 'failure'], status: ['success', 'failure'],
}, },
}; };

View File

@ -56,7 +56,7 @@ image_pull_secrets:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
- refs/pull/** - refs/pull/**
@ -113,7 +113,7 @@ image_pull_secrets:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
- refs/pull/** - refs/pull/**
@ -151,7 +151,7 @@ image_pull_secrets:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/main
- refs/tags/** - refs/tags/**
status: status:
- success - success
@ -162,6 +162,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 5491f814e4edd00e12047cd91988765ed1af400a4a30ab4401ca2015096ab4f4 hmac: cb861ef547d389365c74e52d97940109686394d848bda333b77eaa1b50a59c5a
... ...

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

@ -4,7 +4,7 @@
[![Go Report Card](https://goreportcard.com/badge/github.com/thegeeklab/url-parser)](https://goreportcard.com/report/github.com/thegeeklab/url-parser) [![Go Report Card](https://goreportcard.com/badge/github.com/thegeeklab/url-parser)](https://goreportcard.com/report/github.com/thegeeklab/url-parser)
[![Codecov](https://img.shields.io/codecov/c/github/thegeeklab/url-parser)](https://codecov.io/gh/thegeeklab/url-parser) [![Codecov](https://img.shields.io/codecov/c/github/thegeeklab/url-parser)](https://codecov.io/gh/thegeeklab/url-parser)
[![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/url-parser)](https://github.com/thegeeklab/url-parser/graphs/contributors) [![GitHub contributors](https://img.shields.io/github/contributors/thegeeklab/url-parser)](https://github.com/thegeeklab/url-parser/graphs/contributors)
[![License: MIT](https://img.shields.io/github/license/thegeeklab/url-parser)](https://github.com/thegeeklab/url-parser/blob/master/LICENSE) [![License: MIT](https://img.shields.io/github/license/thegeeklab/url-parser)](https://github.com/thegeeklab/url-parser/blob/main/LICENSE)
Inspired by [herloct/url-parser](https://github.com/herloct/url-parser), a simple command-line utility for parsing URLs. Inspired by [herloct/url-parser](https://github.com/herloct/url-parser), a simple command-line utility for parsing URLs.
@ -74,8 +74,8 @@ somevalue
## Contributors ## Contributors
Special thanks goes to all [contributors](https://github.com/thegeeklab/url-parser/graphs/contributors). If you would like to contribute, Special thanks goes to all [contributors](https://github.com/thegeeklab/url-parser/graphs/contributors). If you would like to contribute,
please see the [instructions](https://github.com/thegeeklab/url-parser/blob/master/CONTRIBUTING.md). please see the [instructions](https://github.com/thegeeklab/url-parser/blob/main/CONTRIBUTING.md).
## License ## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/url-parser/blob/master/LICENSE) file for details. This project is licensed under the MIT License - see the [LICENSE](https://github.com/thegeeklab/url-parser/blob/main/LICENSE) file for details.