diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f3216ef..43626f0 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,10 +13,10 @@ name: "CodeQL" on: push: - branches: [ master ] + branches: [ main ] pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [ main ] schedule: - cron: '40 0 * * 3' diff --git a/README.md b/README.md index 6739e83..67e5148 100644 --- a/README.md +++ b/README.md @@ -230,10 +230,22 @@ recommended in enviroments like Kubernetes. They are reachable under `/live` and 6. Push to the branch (`git push origin my-new-feature`) 7. Create new pull request +### Renamed branch to `main` + +The name of default branch recently changed from `master` to `main`. If you have a local working +copy of this repository you can rename it using the following commands: + +```shell +git branch -m master main +git fetch origin +git branch -u origin/main main +git remote set-head origin -a +``` + ## License The KNX Exporter is released under the Apache 2.0 license. See -[LICENSE](https://github.com/chr-fritz/knx-exporter/blob/master/LICENSE) +[LICENSE](https://github.com/chr-fritz/knx-exporter/blob/main/LICENSE) ## Maintainer