Skip to content

Commit

Permalink
Updates references to main branch due to renaming it from master.
Browse files Browse the repository at this point in the history
  • Loading branch information
chr-fritz committed Aug 17, 2023
1 parent c5855e7 commit 5ad300f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5ad300f

Please sign in to comment.