You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,24 +23,24 @@ Template to quickly spin up a Go module project.
23
23
- (Less preferred method) Or simply clone/fork this repository.
24
24
2. Update `go.mod` and `module.go` file to reflect your module name and required Go version.
25
25
3. Review other source code and test files, either update them to reflect your module's name and functionality or remove them.
26
-
4.`LICENSE.tpl.md`, `README.tpl.md` and `RELEASE-NOTES.tpl.md` files are templates. Update them to reflect your module's name and functionality. Then rename them to `LICENSE.md`, `README.md` and `RELEASE-NOTES.md`.
26
+
4.`LICENSE.tpl.md`, `README.tpl.md` and `RELEASE-NOTES.tpl.md` files are templates; update them to reflect your module's name and functionality; then rename them to `LICENSE.md`, `README.md` and `RELEASE-NOTES.md`.
27
27
5. Update other files to suit your needs.
28
28
6. Happy coding!
29
29
30
30
**Workflows**
31
31
32
32
Workflows implemented by this template are as the following:
33
33
34
-
-Dependencies are checked and updated weekly by `dependabot.yaml`, and then PRs are automatically merged to `main` branch by `automerge-dependabot.yaml`.
34
+
-`dependabot.yaml` configures dependencies are checked and updated weekly. `dependabot` will create a PR for each dependency update. `automerge-dependabot.yaml` is triggered to automatically merged PRs to `main` branch.
35
35
-`ci.yaml` is triggered on every push to any branch to run tests and generate code coverage report.
36
36
- Once PR is approved and merged to `release` branch, `release.yaml` is triggered to create a new release. Then a new PR is created to merge `release` branch to `main` branch.
37
37
38
38
A suggested git workflow to use with this template is as the following:
39
39
40
40
- Work on your code in development/feature branches as usual.
41
41
- Once ready, create a PR to merge your development/feature branch to `release` branch.
42
-
-Workflow `release.yaml`will be triggered to create a new release.
43
-
- Then a new PR will be created to merge `release` branch to `main` branch. Note: you have to review and approve the PR by yourself to finalize the merge.
42
+
-Once the PR is merged, `release.yaml`is triggered to create a new release.
43
+
- Then a new PR is created to merge `release` branch to `main` branch. Note: you have to review and approve the PR by yourself to finalize the merge.
44
44
45
45
> Remember to enable the setting "Allow GitHub Actions to create and approve pull requests" from project's `Settings -> Actions -> General`.
0 commit comments