feat(gitea): recruit developers from a Discord panel into FWS
Recruited people need a Gitea account without a public signup on the forge. The panel posts in its own Gitea category, the single modal keeps the whole application in one gesture, and acceptance creates a restricted account in the FWS organization, adds it to the Dev team, grants the Discord Dev role and sends the temporary password by DM. Restrictions keep the new account working inside the organization only, with no personal repository of its own.
This commit is contained in:
14 files changed
+1269
-10
No files matched your search
+10
-8
@@ -142,14 +142,16 @@ Full template: [`.env.example`](.env.example). Default values in brackets.
|
||||
|
||||
### Gitea
|
||||
|
||||
| Variable | Default | Description |
|
||||
| ------------------- | ------- | ---------------------------------------------------------------------- |
|
||||
| `GITEA_URL` | — | Instance URL (without a trailing `/`) |
|
||||
| `GITEA_TOKEN` | — | Least privilege token (`read:repository`, `write:issue`). Never logged |
|
||||
| `GITEA_OWNER` | — | Repository owner (e.g. `FWS`) |
|
||||
| `GITEA_REPO` | — | Target repository (e.g. `FWS-Arch`) |
|
||||
| `GITEA_TIMEOUT_MS` | `10000` | Request timeout |
|
||||
| `GITEA_MAX_RETRIES` | `2` | Retries on transient errors (429, 5xx, timeout) |
|
||||
| Variable | Default | Description |
|
||||
| ------------------- | ------------- | ---------------------------------------------------------------------- |
|
||||
| `GITEA_URL` | — | Instance URL (without a trailing `/`) |
|
||||
| `GITEA_TOKEN` | — | Least privilege token (`read:repository`, `write:issue`). Never logged |
|
||||
| `GITEA_OWNER` | — | Repository owner (e.g. `FWS`) |
|
||||
| `GITEA_ORG` | `GITEA_OWNER` | Organization that hosts recruited people |
|
||||
| `GITEA_DEV_TEAM` | `Dev` | Gitea team they join on acceptance |
|
||||
| `GITEA_REPO` | — | Target repository (e.g. `FWS-Arch`) |
|
||||
| `GITEA_TIMEOUT_MS` | `10000` | Request timeout |
|
||||
| `GITEA_MAX_RETRIES` | `2` | Retries on transient errors (429, 5xx, timeout) |
|
||||
|
||||
### Gitea webhooks
|
||||
|
||||
|
||||
Reference in new issue
Block a user