Skip to content

Commit 7c869d6

Browse files
committed
chore(template): sync with dailydevops/template-dotnet [skip ci]
1 parent 67ea9bc commit 7c869d6

2 files changed

Lines changed: 21 additions & 19 deletions

File tree

CODE_OF_CONDUCT.md

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
1717
Examples of behavior that contributes to a positive environment for our
1818
community include:
1919

20-
* Demonstrating empathy and kindness toward other people
21-
* Being respectful of differing opinions, viewpoints, and experiences
22-
* Giving and gracefully accepting constructive feedback
23-
* Accepting responsibility and apologizing to those affected by our mistakes,
20+
- Demonstrating empathy and kindness toward other people
21+
- Being respectful of differing opinions, viewpoints, and experiences
22+
- Giving and gracefully accepting constructive feedback
23+
- Accepting responsibility and apologizing to those affected by our mistakes,
2424
and learning from the experience
25-
* Focusing on what is best not just for us as individuals, but for the
25+
- Focusing on what is best not just for us as individuals, but for the
2626
overall community
2727

2828
Examples of unacceptable behavior include:
2929

30-
* The use of sexualized language or imagery, and sexual attention or
30+
- The use of sexualized language or imagery, and sexual attention or
3131
advances of any kind
32-
* Trolling, insulting or derogatory comments, and personal or political attacks
33-
* Public or private harassment
34-
* Publishing others' private information, such as a physical or email
32+
- Trolling, insulting or derogatory comments, and personal or political attacks
33+
- Public or private harassment
34+
- Publishing others' private information, such as a physical or email
3535
address, without their explicit permission
36-
* Other conduct which could reasonably be considered inappropriate in a
36+
- Other conduct which could reasonably be considered inappropriate in a
3737
professional setting
3838

3939
## Enforcement Responsibilities
@@ -59,8 +59,7 @@ representative at an online or offline event.
5959
## Enforcement
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62-
reported to the community leaders responsible for enforcement at
63-
info@daily-devops.net.
62+
reported to the community leaders responsible for enforcement at [info@daily-devops.net](mailto:info@daily-devops.net).
6463
All complaints will be reviewed and investigated promptly and fairly.
6564

6665
All community leaders are obligated to respect the privacy and security of the
@@ -106,7 +105,7 @@ Violating these terms may lead to a permanent ban.
106105
### 4. Permanent Ban
107106

108107
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
108+
standards, including sustained inappropriate behavior, harassment of an
110109
individual, or aggression toward or disparagement of classes of individuals.
111110

112111
**Consequence**: A permanent ban from any sort of public interaction within
@@ -115,14 +114,11 @@ the community.
115114
## Attribution
116115

117116
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118-
version 2.0, available at
119-
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
117+
version 2.0, available at [Contributor Covenant Code of Conduct](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).
120118

121119
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122120
enforcement ladder](https://github.com/mozilla/diversity).
123121

124122
[homepage]: https://www.contributor-covenant.org
125123

126-
For answers to common questions about this code of conduct, see the FAQ at
127-
https://www.contributor-covenant.org/faq. Translations are available at
128-
https://www.contributor-covenant.org/translations.
124+
For answers to common questions about this code of conduct, see the [Frequently Asked Questions](https://www.contributor-covenant.org/faq).

CONTRIBUTING.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
All contributions must follow the rules below to stay consistent with our automation and downstream consumers.
44

55
## Expectations
6+
67
- Use English for all code, documentation, and commit messages.
78
- Follow the trunk-based workflow implied by GitVersion; prefer short-lived feature branches merged via pull requests.
89
- Keep production code under `src/` and test projects under `tests/` using the `{ProjectName}.Tests.Unit` / `{ProjectName}.Tests.Integration` pattern.
910
- Add NuGet packages without versions in project files; define versions centrally in `Directory.Packages.props` only.
1011
- Leave repository-wide config files (e.g., `.editorconfig`, `Directory.Build.props`, `Directory.Packages.props` structure) unchanged unless explicitly requested.
1112

1213
## Commit messages (required)
14+
1315
Commit messages **must** follow the [Conventional Commits 1.0.0](https://www.conventionalcommits.org/en/v1.0.0/) format:
1416

1517
```text
@@ -19,20 +21,24 @@ Commit messages **must** follow the [Conventional Commits 1.0.0](https://www.con
1921
Allowed types include `feat`, `fix`, `docs`, `style`, `refactor`, `test`, `chore`, `build`, `ci`, `perf`, and `revert`. Indicate breaking changes with `!` after the type/scope or a `BREAKING CHANGE:` footer.
2022

2123
## Development workflow
24+
2225
- The `global.json` file pins test runner and in some cases the required SDK version; see README.md for the required .NET SDK version and any additional prerequisites.
2326
- Restore, build, and test from the solution root before opening a pull request: `dotnet restore`, `dotnet build`, `dotnet test`.
2427
- Execute code formatting using `csharpier format .` from the solution root.
2528
- Keep code and documentation clear and concise; prefer small, focused pull requests.
2629
- Update documentation when behavior or public surface changes.
2730

2831
## Pull requests
32+
2933
- Provide a short summary, the motivation for the change, and any relevant issue links.
3034
- List the tests you ran and the outcomes.
3135
- Ensure new code includes appropriate tests (unit or integration) placed under the matching `tests/` project.
3236
- Avoid reformatting unrelated code or introducing drive-by changes.
3337

3438
## Dependency updates
39+
3540
We use Renovate Bot to create automated dependency update pull requests using conventional commit prefixes. When adding new dependencies manually, follow the same conventions:
41+
3642
- Declare the version in `Directory.Packages.props`.
3743
- Reference the package in the project file without a version attribute.
38-
- Prefer the smallest viable dependency set; remove unused packages.
44+
- Prefer the smallest viable dependency set; remove unused packages.

0 commit comments

Comments
 (0)