Proyecto colaborativo del taller de Git & GitHub de la IEEE Computer Society UNAP. Cada participante agrega su perfil mediante una Pull Request.
Fork → Rama → Crear tu JSON → Commit → Push → Pull Request → ✅ Auto-validación → 🎉 Merge
flowchart TD
A[🍴 Fork del repo] --> B[🌿 Crear rama]
B --> C[📝 Crear contributors/tu-nickname.json]
C --> D[💾 Commit + Push]
D --> E[🔄 Abrir Pull Request]
E --> F[🤖 GitHub Actions valida]
F --> G{¿JSON válido?}
G -->|❌ No| H[Corregir errores → D]
G -->|✅ Sí| I[🏗️ Regenerar public/index.json]
I --> J[🎉 Merge automático]
# Opción A: GitHub Codespace (recomendado — sin instalaciones)
# "Code" → "Codespaces" → "Create codespace on main"
# Opción B: Local
git clone https://github.com/TU-USUARIO/IEEE-CS-UNAP-Workshop.git
cd IEEE-CS-UNAP-Workshopgit checkout -b feat/add-tu-nicknameCrea contributors/tu-nickname.json con esta estructura:
{
"name": "Tu Nombre",
"nickname": "tu-nickname",
"github": "https://github.com/tu-usuario",
"linkedin": "https://linkedin.com/in/tu-perfil",
"instagram": "https://instagram.com/tu-usuario",
"image": "https://github.com/tu-usuario.png",
"description": "Descripción breve sobre ti",
"hobbies": ["Hobby 1", "Hobby 2", "Hobby 3"]
}También puedes usar el formulario en la web para generar el JSON automáticamente.
git add contributors/tu-nickname.json
git commit -m "feat: add profile for tu-nickname"
git push origin feat/add-tu-nicknameVe a GitHub → aparecerá el banner "Compare & pull request" → click → "Create pull request".
| Workflow | Cuándo | Qué hace |
|---|---|---|
| Validate PR | Al abrir/actualizar la PR | Verifica que solo se modifique contributors/ y que el JSON sea válido |
| Generate Contributors | Al hacer merge a main |
Regenera public/index.json con todos los perfiles |
Si la validación falla, el bot deja un comentario en la PR con el error.
✅ Solo debes tocar: contributors/tu-nickname.json
❌ No tocar:
public/index.json(auto-generado)- Archivos de otros colaboradores
- HTML, CSS, JS del proyecto
- IEEE Computer Society UNAP Student Branch — organización del taller
- GitHub Education — herramientas para el aprendizaje