Skip to content

Commit 109bd27

Browse files
author
Muhammad Rehan Saeed
committed
Add GitHub documentation for security, code of conduct and use .github folder where possible
1 parent d5fb512 commit 109bd27

9 files changed

+103
-4
lines changed

.github/CODE_OF_CONDUCT.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behaviour that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behaviour by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behaviour and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behaviour.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviours that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behaviour may be
58+
reported by contacting https://github.com/RehanSaeed. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
**Which [schema.org](https://schema.org) object is this about if any?**
2+
3+
- Name -
4+
- Link - e.g. https://schema.org/Person

.github/PULL_REQUEST_TEMPLATE.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!--
2+
Thank you good citizen for your hard work!
3+
4+
Please read the contributing guide before raising a pull request.
5+
https://github.com/RehanSaeed/Schema.NET/blob/master/CONTRIBUTING.md
6+
-->

.github/SECURITY.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
This project supports only the latest version with security updates. However, we'll do our best to help and answer questions about older versions.
6+
7+
## Reporting a Vulnerability
8+
9+
Contact [Muhammad Rehan Saeed](https://github.com/RehanSaeed) to report a security vulnerability. You will be thanked!

LICENSE renamed to LICENSE.md

File renamed without changes.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ For more examples and actual running code samples, take a look at the unit tests
161161

162162
## Contributions and Thanks
163163

164-
Please view the [contributing guide](CONTRIBUTING.md) for more information.
164+
Please view the [contributing guide](/.github/CONTRIBUTING.md) for more information.
165165

166166
- [shervinw](https://github.com/shervinw) - Added better null value handling for structs.
167167
- [kirk-marple](https://github.com/kirk-marple) - Refactoring JSON serialization to be more efficient.

Schema.NET.sln

+7-3
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,14 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Schema.NET", "Source\Schema
2323
EndProject
2424
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Documentation", "Documentation", "{7EDFA103-DB69-4C88-9DE4-97ADBF8253A1}"
2525
ProjectSection(SolutionItems) = preProject
26-
CONTRIBUTING.md = CONTRIBUTING.md
27-
ISSUE_TEMPLATE.md = ISSUE_TEMPLATE.md
28-
LICENSE = LICENSE
26+
.github\ISSUE_TEMPLATE\BUG_REPORT.md = .github\ISSUE_TEMPLATE\BUG_REPORT.md
27+
.github\CODE_OF_CONDUCT.md = .github\CODE_OF_CONDUCT.md
28+
.github\CONTRIBUTING.md = .github\CONTRIBUTING.md
29+
.github\ISSUE_TEMPLATE\FEATURE_REQUEST.md = .github\ISSUE_TEMPLATE\FEATURE_REQUEST.md
30+
LICENSE.md = LICENSE.md
31+
.github\PULL_REQUEST_TEMPLATE.md = .github\PULL_REQUEST_TEMPLATE.md
2932
README.md = README.md
33+
.github\SECURITY.md = .github\SECURITY.md
3034
EndProjectSection
3135
EndProject
3236
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{E1B24F25-B8A4-46EE-B7EB-7803DCFC543F}"

0 commit comments

Comments
 (0)