Skip to content

Commit e367aaa

Browse files
committed
Updated GitHub repo guidelines to reflect new public repo.
1 parent 2548095 commit e367aaa

File tree

1 file changed

+4
-63
lines changed
  • content/contributing-code/github-repo-guidelines

1 file changed

+4
-63
lines changed

content/contributing-code/github-repo-guidelines/contents.lr

+4-63
Original file line numberDiff line numberDiff line change
@@ -35,74 +35,15 @@ All GitHub repositories should have the following items to be considered fully r
3535
- [Issue templates](https://help.github.com/en/articles/creating-issue-templates-for-your-repository). GitHub pulls the default templates from our [`.github` repository](https://github.com/creativecommons/.github) automatically, but if you want/need to customize them, create them in your repository.
3636
- A [pull request template](https://help.github.com/en/articles/creating-a-pull-request-template-for-your-repository). GitHub pulls the default template from our [`.github` repository](https://github.com/creativecommons/.github) automatically, but if you want/need to customize it, create it in your repository.
3737
- [Support resources](https://help.github.com/en/articles/adding-support-resources-to-your-project). GitHub pulls the default `SUPPORT.md` file from our [`.github` repository](https://github.com/creativecommons/.github) automatically, but if you want/need to customize it, create it in your repository.
38-
- Setting up [branch protections](https://help.github.com/en/articles/about-protected-branches) that don't allow code to be merged in without tests passing or requires reviews for pull requests to be merged.
3938

4039
## Standard Labels
41-
All repositories must contain the following labels. CC staff have access to a script that you can run to make sure all repositories have this label.
40+
All repositories must contain a set of standard labels, [documented here](https://github.com/creativecommons/ccos-scripts/blob/master/normalize_repos/labels.py). You don't have to set these up manually. CC staff can run [a script](https://github.com/creativecommons/ccos-scripts/tree/master/normalize_repos) that to make sure all repositories have this label.
4241

4342
Repositories may contain additional custom labels as well. It is recommended that custom labels be explained in the contribution guidelines for that project.
4443

45-
<table class="table table-striped table-sm">
46-
<thead>
47-
<tr>
48-
<th>Name</th>
49-
<th>Color</th>
50-
<th>Description</th>
51-
</tr>
52-
</thead>
53-
<tbody>
54-
<tr>
55-
<td>bug</td>
56-
<td><code>#d73a4a</code></td>
57-
<td>Something isn't working</td>
58-
</tr>
59-
<tr>
60-
<td>duplicate</td>
61-
<td><code>#cfd3d7</code></td>
62-
<td>This issue or pull request already exists</td>
63-
</tr>
64-
<tr>
65-
<td>enhancement</td>
66-
<td><code>#a2eeef</code></td>
67-
<td>New feature or request</td>
68-
</tr>
69-
<tr>
70-
<td>good first issue</td>
71-
<td><code>#7057ff</code></td>
72-
<td>Good for newcomers</td>
73-
</tr>
74-
<tr>
75-
<td>help wanted</td>
76-
<td><code>#008672</code></td>
77-
<td>Seeking help from community</td>
78-
</tr>
79-
<tr>
80-
<td>in progress</td>
81-
<td><code>#ffcc00</code></td>
82-
<td>Currently being worked on</td>
83-
</tr>
84-
<tr>
85-
<td>invalid</td>
86-
<td><code>#e4e669</code></td>
87-
<td>This doesn't seem right</td>
88-
</tr>
89-
<tr>
90-
<td>question</td>
91-
<td><code>#d876e3</code></td>
92-
<td>Further information is requested</td>
93-
</tr>
94-
<tr>
95-
<td>urgent</td>
96-
<td><code>#d93f0b</code></td>
97-
<td>Needs to be fixed ASAP</td>
98-
</tr>
99-
<tr>
100-
<td>wontfix</td>
101-
<td><code>#ffffff</code></td>
102-
<td>This will not be worked on</td>
103-
</tr>
104-
</tbody>
105-
</table>
44+
## Branch Protections
45+
46+
Branch protections are automatically set up by CC staff via [this script](https://github.com/creativecommons/ccos-scripts/tree/master/normalize_repos). By default, pushing directly to the `master` branch is disabled and all pull requests require review by at least one person before merge.
10647

10748
## CC Metadata file
10849

0 commit comments

Comments
 (0)