Lista completa de configurações para fazer uma vez no repositório público no GitHub. Cada item linka para a tela exata.
Substitua guiloklex-hub/wedding-management-system pelo caminho real do repo.
🔗 Settings → General → Repository details
wedding, wedding-planner, nextjs, nextjs-16, prisma, sqlite, typescript, tailwindcss, pwa, auth-js, self-hosted, portuguese-brazilian, open-source, wedding-finance.🔗 Settings → General → Features
Anúncios, Perguntas, Ideias, Show & tell, Geral.docs/, não duplique)..github/FUNDING.yml).🔗 Settings → General → Pull Requests
main🔗 Settings → Branches → Add branch protection rule
Branch name pattern: main
Marcar:
CODEOWNERS).Lint, typecheck, testes e build (do ci.yml)Analyze (javascript-typescript) (do codeql.yml)💡 Se você for único mantenedor: pode deixar “Require approvals = 0” e usar “Include administrators” desligado, para conseguir mergear seus próprios PRs sem revisão. Mas mantenha os status checks obrigatórios.
🔗 Settings → Tags → New rule
v*.*.*🔗 Settings → Code security
Habilitar TODOS:
SECURITY.md aponta pra cá)..github/dependabot.yml).codeql.yml (já existe).🔗 Settings → Actions → General
🔗 Settings → Pages
Não recomendo expor o app inteiro como Pages (é dinâmico). Mas você pode expor só os docs estáticos:
main / pasta: /docs⚠️ Os arquivos em docs/ estão escritos para serem lidos no GitHub. Para
ficarem bonitos como Pages, precisaria de um gerador (Docusaurus, MkDocs, etc.).
Sugiro deixar pra depois.
🔗 Issues → Labels
Adicione as labels que o auto-labeler precisa (workflow .github/workflows/labeler.yml):
| Label | Cor sugerida |
|---|---|
documentation |
#0075ca |
ci |
#fbca04 |
dependencies |
#0366d6 |
javascript |
#f1e05a |
github-actions |
#2088ff |
database |
#5319e7 |
frontend |
#a2eeef |
backend |
#1d76db |
tests |
#bfd4f2 |
security |
#d93f0b |
notifications |
#0e8a16 |
good first issue |
#7057ff (padrão GitHub) |
help wanted |
#008672 (padrão GitHub) |
bug |
#d73a4a (padrão GitHub) |
enhancement |
#a2eeef (padrão GitHub) |
question |
#d876e3 (padrão GitHub) |
Atalho via gh CLI:
gh label create documentation --color 0075ca
gh label create ci --color fbca04
gh label create dependencies --color 0366d6
gh label create javascript --color f1e05a
gh label create github-actions --color 2088ff
gh label create database --color 5319e7
gh label create frontend --color a2eeef
gh label create backend --color 1d76db
gh label create tests --color bfd4f2
gh label create security --color d93f0b
gh label create notifications --color 0e8a16
Crie .github/CODEOWNERS:
# Default owner (todos os arquivos)
* @guiloklex-hub
# Áreas sensíveis
/src/auth*.ts @guiloklex-hub
/src/lib/timing-safe.ts @guiloklex-hub
/src/lib/rate-limit.ts @guiloklex-hub
/.github/ @guiloklex-hub
SECURITY.md @guiloklex-hub
Combina com “Require review from Code Owners” na branch protection.
🔗 Settings → Secrets and variables → Actions
Se algum dia o CI precisar de credenciais (deploy, releases assinadas, etc.), adicione aqui. Por enquanto não há nada.
Não coloque NEXTAUTH_SECRET real aqui — o CI usa placeholder no ci.yml.
🔗 Página inicial → engrenagem ⚙ ao lado de “About”
🔗 Settings → General → Features → Issues → Set up templates
Já criamos:
.github/ISSUE_TEMPLATE/bug.md.github/ISSUE_TEMPLATE/feature.md.github/ISSUE_TEMPLATE/config.yml (desativa issues em branco e adiciona links)Não precisa mexer na UI.
Após ativar Discussions (passo 2), crie estas categorias:
No README, atualize para apontar para o seu user real:
[](https://github.com/guiloklex-hub/wedding-management-system/actions/workflows/ci.yml)
[](https://github.com/guiloklex-hub/wedding-management-system/actions/workflows/codeql.yml)
[](LICENSE)
(Você pode adicionar isso ao README quando o repo já estiver com os workflows rodando — antes disso o badge fica vermelho.)
Já existe (.github/workflows/release.yml). Para criar uma release:
git tag v0.2.0
git push origin v0.2.0
O workflow:
- (ex: v0.3.0-beta.1).Para que as release notes do GitHub fiquem bonitas, padronize commits:
feat: nova feature
fix: correção de bug
docs: documentação
chore: manutenção
refactor: refatoração
test: testes
ci: CI/CD
perf: performance
Veja CONTRIBUTING.
Após fazer tudo acima:
main.v*.*.*.Feito isso, o repositório está bem protegido contra acidentes, spam, ataques automáticos e contribuições mal-formatadas — sem deixar de ser convidativo para novos contribuidores.