Skip to content

Commit

Permalink
refactor: master->main for links and ci (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
yxlao committed Apr 7, 2024
1 parent 7e567dd commit 936356c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request:
types: [opened, reopened, synchronize]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request:
types: [opened, reopened, synchronize]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request:
types: [opened, reopened, synchronize]

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/yxlao/camtools/master/camtools/assets/camtools_logo_dark.png">
<img alt="CamTools Logo" src="https://raw.githubusercontent.com/yxlao/camtools/master/camtools/assets/camtools_logo_light.png" width="360">
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/yxlao/camtools/main/camtools/assets/camtools_logo_dark.png">
<img alt="CamTools Logo" src="https://raw.githubusercontent.com/yxlao/camtools/main/camtools/assets/camtools_logo_light.png" width="360">
</picture>
</p>
<h1 align="center">CamTools: Camera Tools for Computer Vision</h1>
Expand All @@ -20,8 +20,8 @@ clear and easy-to-use APIs.

<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/yxlao/camtools/master/camtools/assets/camera_coordinates_dark.png">
<img alt="CamTools Logo" src="https://raw.githubusercontent.com/yxlao/camtools/master/camtools/assets/camera_coordinates_light.png" width="520">
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/yxlao/camtools/main/camtools/assets/camera_coordinates_dark.png">
<img alt="CamTools Logo" src="https://raw.githubusercontent.com/yxlao/camtools/main/camtools/assets/camera_coordinates_light.png" width="520">
</picture>
</p>

Expand All @@ -37,7 +37,7 @@ clear and easy-to-use APIs.
```

<p align="center">
<img src="https://raw.githubusercontent.com/yxlao/camtools/master/camtools/assets/camera_frames.png" width="360" />
<img src="https://raw.githubusercontent.com/yxlao/camtools/main/camtools/assets/camera_frames.png" width="360" />
</p>

2. Convert camera parameters.
Expand Down Expand Up @@ -247,7 +247,7 @@ the beginning of the README.
## Contributing

- Follow [Angular's commit message convention](https://github.com/angular/angular/blob/main/CONTRIBUTING.md#-commit-message-format) for PRs.
- This applies to PR's title and ultimately the commit messages in `master`.
- This applies to PR's title and ultimately the commit messages in `main`.
- The prefix shall be one of `build`, `ci`, `docs`, `feat`, `fix`, `perf`, `refactor`, `test`.
- Use lowercase.
- Format your code with [black](https://github.com/psf/black). This will be enforced by the CI.
Expand All @@ -258,6 +258,6 @@ If you use CamTools in your project, consider adding one of the following
badges to your project.

<p>
<a href="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/yxlao/camtools"><img alt="Built with CamTools" src="https://raw.githubusercontent.com/yxlao/camtools/master/camtools/assets/built_with_camtools_dark.svg" width=240></a>
<a href="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/yxlao/camtools"><img alt="Built with CamTools" src="https://raw.githubusercontent.com/yxlao/camtools/master/camtools/assets/built_with_camtools_light.svg" width=240></a>
<a href="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/yxlao/camtools"><img alt="Built with CamTools" src="https://raw.githubusercontent.com/yxlao/camtools/main/camtools/assets/built_with_camtools_dark.svg" width=240></a>
<a href="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/yxlao/camtools"><img alt="Built with CamTools" src="https://raw.githubusercontent.com/yxlao/camtools/main/camtools/assets/built_with_camtools_light.svg" width=240></a>
</p>

0 comments on commit 936356c

Please sign in to comment.