Skip to content

Commit

Permalink
refactor: switch to main as default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Apr 11, 2022
1 parent 1d85f32 commit 38c6719
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ steps:
from_secret: docker_username
when:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**

- name: release
Expand All @@ -74,7 +74,7 @@ steps:

trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
- refs/pull/**

Expand Down Expand Up @@ -110,7 +110,7 @@ steps:

trigger:
ref:
- refs/heads/master
- refs/heads/main
- refs/tags/**
status:
- success
Expand Down
4 changes: 2 additions & 2 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository:
has_wiki: false
has_downloads: false

default_branch: master
default_branch: main

allow_squash_merge: true
allow_merge_commit: true
Expand Down Expand Up @@ -47,7 +47,7 @@ labels:
description: This will not be worked on

branches:
- name: master
- name: main
protection:
required_pull_request_reviews: null
required_status_checks:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ docker build -f Dockerfile -t registry:latest .

## License

This project is licensed under the Apache 2.0 License - see the [LICENSE](https://github.com/owncloud-ops/registry/blob/master/LICENSE) file for details.
This project is licensed under the Apache 2.0 License - see the [LICENSE](https://github.com/owncloud-ops/registry/blob/main/LICENSE) file for details.

0 comments on commit 38c6719

Please sign in to comment.