Skip to content

Commit 21bbea7

Browse files
kbdharunacuteenvywaldyriousManagor
authored
COMMUNITY-ROLES: discourage SMS 2FA, add reply comment templates (#19505)
Signed-off-by: Dharun Krishna K B <[email protected]> Co-authored-by: Lena Pastwa <[email protected]> Co-authored-by: Waldir Pimenta <[email protected]> Co-authored-by: Managor <[email protected]>
1 parent 1171580 commit 21bbea7

File tree

1 file changed

+45
-2
lines changed

1 file changed

+45
-2
lines changed

COMMUNITY-ROLES.md

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ the metrics used are objective, easy to check, and explicitly described below. (
2121
exceptions can always be considered through open community discussion.)
2222

2323
> [!IMPORTANT]
24-
> It is required to have [two-factor authentication](https://github.com/settings/security) (2FA) enabled for your GitHub account to be added as an outside collaborator or a member of the tldr-pages organization.
24+
> It is required to have a secure [two-factor authentication (2FA)](https://github.com/settings/security) method (Authenticator app/Security Keys/GitHub mobile) enabled for your GitHub account
25+
> to be added as an outside collaborator or a member of the tldr-pages organization.
26+
27+
> [!WARNING]
28+
> SMS-based 2FA methods pose a higher risk of being compromised,
29+
> so **we require all maintainers to disable SMS-based 2FA**
30+
> and use more secure methods.
2531
2632
## When to change roles
2733

@@ -109,7 +115,8 @@ using one of the template messages below as a base.
109115
Either way, thanks for all your work so far!
110116

111117
> [!NOTE]
112-
> It is required to have [two-factor authentication](https://github.com/settings/security) (2FA) enabled for your GitHub account to be added as a collaborator to the tldr-pages/tldr repository.
118+
> It is required to have a secure [two-factor authentication (2FA)](https://github.com/settings/security) method (Authenticator app/Security Keys/GitHub mobile) enabled for your
119+
> GitHub account to be added as a collaborator to the tldr-pages/tldr repository.
113120
```
114121

115122
2. Once they acknowledge the message and if they accept the invitation,
@@ -121,6 +128,18 @@ using one of the template messages below as a base.
121128
Make sure to include `Closes #<issue number>` in the PR description.
122129
The issue will then be automatically closed once the PR gets merged.
123130

131+
Feel free to use this reply comment template:
132+
133+
```md
134+
Welcome to tldr! I've sent you an invitation to become a collaborator in this repository.
135+
136+
Feel free to close this issue with a pull request, updating the [MAINTAINERS.md](https://github.com/tldr-pages/tldr/blob/main/MAINTAINERS.md#repository-collaborators) file's active collaborator section with a new entry.
137+
138+
Also add yourself to the [CODEOWNERS](https://github.com/tldr-pages/tldr/blob/main/.github/CODEOWNERS) file if you wish to take responsibility for reviewing PRs for a language's translations or a specific directory.
139+
140+
We also have a [Matrix chat room](https://matrix.to/#/#tldr-pages:matrix.org), which we recommend as a way to stay in touch with community discussions and other maintainers.
141+
```
142+
124143
### Adding new organization members
125144

126145
1. Open an issue with the following message template (edit it as appropriate):
@@ -153,6 +172,18 @@ using one of the template messages below as a base.
153172
Make sure to include `Closes #<issue number>` in the PR description.
154173
The issue will then be automatically closed once the PR gets merged.
155174

175+
Feel free to use this reply comment template:
176+
177+
```md
178+
Welcome to tldr-pages! I've sent you an invitation to become a member of the organization. Once you accept it, don't forget to set your membership to ["Public" visibility](https://github.com/orgs/tldr-pages/people).
179+
180+
Feel free to close this issue with a pull request, updating the [MAINTAINERS.md](https://github.com/tldr-pages/tldr/blob/main/MAINTAINERS.md#organization-members) file's active organization members section with a new entry.
181+
182+
Make sure to update your existing [repository collaborator](https://github.com/tldr-pages/tldr/blob/main/MAINTAINERS.md#repository-collaborators) entry in [MAINTAINERS.md](https://github.com/tldr-pages/tldr/blob/main/MAINTAINERS.md) file and move it to the bottom of the collaborators list.
183+
184+
Additionally, if you haven't already, add yourself to the [CODEOWNERS](https://github.com/tldr-pages/tldr/blob/main/.github/CODEOWNERS) file if you wish to take responsibility for reviewing PRs for a language's translations or a specific directory.
185+
```
186+
156187
### Adding new organization owners
157188

158189
1. Open an issue with the following message template (edit it as appropriate):
@@ -181,6 +212,18 @@ using one of the template messages below as a base.
181212
Make sure to include `Closes #<issue number>` in the PR description.
182213
The issue will then be automatically closed once the PR gets merged.
183214

215+
Feel free to use this reply comment template:
216+
217+
```md
218+
Welcome to administering tldr-pages! I've converted your role to an Organization Owner.
219+
220+
Feel free to close this issue with a pull request, updating the [MAINTAINERS.md](https://github.com/tldr-pages/tldr/blob/main/MAINTAINERS.md#organization-owners) file's active organization owners section with a new entry.
221+
222+
Make sure to update your existing [organization member](https://github.com/tldr-pages/tldr/blob/main/MAINTAINERS.md#organization-members) entry in [MAINTAINERS.md](https://github.com/tldr-pages/tldr/blob/main/MAINTAINERS.md) file and move it to the bottom of the members list.
223+
224+
As an owner, you will be able to perform role changes and also manage the organization's settings. I request you to be extra careful to avoid any accidental misconfigurations and also discuss any changes beforehand with other maintainers before implementing them.
225+
```
226+
184227
### Removing inactive organization members
185228

186229
1. Open an issue with the following message template (edit it as appropriate):

0 commit comments

Comments
 (0)