There are several github actions in this repo to do some basic checks with pull requests or branches.
Action Name | Note |
---|---|
codeql-analysis | Code analysis |
check-style | Java check style |
check-markdown-links | Check broken markdown links. |
azure-spring-boot-samples-action | Maven build check. |
In this scenario, the samples' dependency has been released to maven central.
- Make your changes in a new git fork.
- Checkout a new feature/bugfix branch from
main
. - Develop in feature/bugfix branch.
- Make pull request to merge the branch into main.(able to merge)
For some reason, we may need to provide sample with not the latest library but specific version of libraries.
In this scenario:
- Make your changes in a new git fork.
- Checkout a new feature/bugfix branch.
- Specify the version of libraries.
- Develop in feature/bugfix branch.
- Make pull request to merge the branch into new feature branch.
In this scenario, the samples may depend on beta version library, which is not released to maven central.
-
Make your changes in a new git fork.
-
Checkout a new feature/bugfix branch from
main
. -
Develop in feature/bugfix branch.
-
Before the dependent library is released to maven central.
- Test sample in local machine.
-
After the dependent library is released to maven central.
-
Make pull request to merge the branch into
main
.There are github actions to check some status here,
if the dependent library is not released to maven central, the pull request will be blocked to merge.
-