From 10d484e05fc905ff9d9da09b765a45d17ab2909c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Torres?= <43612178+JuanJTorres11@users.noreply.github.com> Date: Tue, 21 Mar 2023 12:39:35 -0500 Subject: [PATCH 1/4] fix(readme): actualizar ejemplos de retos --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8b1eb72..47b4b96 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ _Aprende los conceptos básicos para crear tu primer flujo de CI/CD para tus pro - **¿Qué aprenderás?**: Aprenderás a automatizar los procesos de compilación, pruebas y despliegue de sus proyectos. - **¿Qué construirás?**: Una serie de flujos de trabajo que usen los principales conceptos detrás de GitHub Actions (Jobs, Steps, Actions, Variables, Expresiones, entre otros). - **Prerequisitos**: Conocimientos básicos sobre Git y GitHub (realizar commits y push; crear pull requests e issues; agregar etiquetas). -- **Duración**: Este curso tendrá X pasos y lo podrás terminar en Y horas. +- **Duración**: Este curso tendrá 5 pasos y lo podrás terminar en menos de 2 horas. ## ¿Cómo iniciar el curso? @@ -161,6 +161,7 @@ Ahora que conoces los componentes básicos de un workflow en GitHub Actions pode Agregue el siguiente contenido al archivo `triggers.yml`: ```yaml name: Triggers + run-name: ¡Estoy aprendiendo a usar diferentes Triggers! on: push: branches: @@ -251,6 +252,7 @@ Puedes combinar valores literales, referencias de contexto y funciones usando op Agregue el siguiente contenido al archivo `expresiones.yml`: ```yaml name: Expresiones + run-name: ¡Estoy aprendiendo a usar Expresiones! on: workflow_dispatch: inputs: @@ -322,6 +324,7 @@ Los más usados son: Agregue el siguiente contenido al archivo `contextos.yml`: ```yaml name: Contexto + run-name: ¡Estoy aprendiendo a usar Contextos! on: push jobs: check-main: @@ -364,6 +367,7 @@ El uso de variables de entorno es lo único que te falta por aprender de los pri Agregue el siguiente contenido al archivo `variables.yml`: ```yaml name: Saludo usando variables + run-name: ¡Estoy aprendiendo a usar Variables! on: workflow_dispatch env: From 49de9f3ff38a6ffca92041e5e54720278627860d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Torres?= <43612178+JuanJTorres11@users.noreply.github.com> Date: Tue, 21 Mar 2023 12:50:11 -0500 Subject: [PATCH 2/4] fix(readme): actualizar enlace --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 47b4b96..c2530f3 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ _Aprende los conceptos básicos para crear tu primer flujo de CI/CD para tus pro ## ¿Cómo iniciar el curso? 1. Haz click derecho en **Start course** y abre el enlace en una nueva pestaña. -
[![start-course](https://user-images.githubusercontent.com/1221423/218596841-0645fe1a-4aaf-4f51-9ab3-8aa2d3fdd487.svg)](TBD-generate) +
[![start-course](https://user-images.githubusercontent.com/1221423/218596841-0645fe1a-4aaf-4f51-9ab3-8aa2d3fdd487.svg)](https://github.com/platzi/curso-github-actions/generate) 2. En la nueva pestaña, llena los campos para crear un nuevo repositorio. - En owner, elige tu cuenta personal o la de tu organización. - Es recomendado dejar el repositorio como público ya que los privados consumen [minutos que pueden ser cobrados](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions). From d4c2618240a181a5476cfb9ce1389a34b2fca1ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Jun 2023 15:00:21 +0000 Subject: [PATCH 3/4] build(deps): bump skills/action-update-step from 1 to 2 Bumps [skills/action-update-step](https://github.com/skills/action-update-step) from 1 to 2. - [Release notes](https://github.com/skills/action-update-step/releases) - [Commits](https://github.com/skills/action-update-step/compare/v1...v2) --- updated-dependencies: - dependency-name: skills/action-update-step dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/0-inicio.yml | 2 +- .github/workflows/1-crea-primer-workflow.yml | 2 +- .github/workflows/2-conoce-triggers.yml | 2 +- .github/workflows/3-aprende-expresiones.yml | 2 +- .github/workflows/4-usa-contextos.yml | 2 +- .github/workflows/5-uso-variables.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/0-inicio.yml b/.github/workflows/0-inicio.yml index ed5b1f4..af4a097 100644 --- a/.github/workflows/0-inicio.yml +++ b/.github/workflows/0-inicio.yml @@ -84,7 +84,7 @@ jobs: # Update README to close
and open
# and set STEP to '1' - name: Actualizar a paso 1 - uses: skills/action-update-step@v1 + uses: skills/action-update-step@v2 with: token: ${{ secrets.GITHUB_TOKEN }} from_step: 0 diff --git a/.github/workflows/1-crea-primer-workflow.yml b/.github/workflows/1-crea-primer-workflow.yml index ce1cab4..18e5e13 100644 --- a/.github/workflows/1-crea-primer-workflow.yml +++ b/.github/workflows/1-crea-primer-workflow.yml @@ -66,7 +66,7 @@ jobs: # Update README to close
and open
# and set STEP to '2' - name: Actualizar a paso 2 - uses: skills/action-update-step@v1 + uses: skills/action-update-step@v2 with: token: ${{ secrets.GITHUB_TOKEN }} from_step: 1 diff --git a/.github/workflows/2-conoce-triggers.yml b/.github/workflows/2-conoce-triggers.yml index daad349..a0532c2 100644 --- a/.github/workflows/2-conoce-triggers.yml +++ b/.github/workflows/2-conoce-triggers.yml @@ -66,7 +66,7 @@ jobs: # Update README to close
and open
# and set STEP to '3' - name: Actualizar a paso 3 - uses: skills/action-update-step@v1 + uses: skills/action-update-step@v2 with: token: ${{ secrets.GITHUB_TOKEN }} from_step: 2 diff --git a/.github/workflows/3-aprende-expresiones.yml b/.github/workflows/3-aprende-expresiones.yml index bb45a57..89e85b8 100644 --- a/.github/workflows/3-aprende-expresiones.yml +++ b/.github/workflows/3-aprende-expresiones.yml @@ -66,7 +66,7 @@ jobs: # Update README to close
and open
# and set STEP to '4' - name: Actualizar a paso 4 - uses: skills/action-update-step@v1 + uses: skills/action-update-step@v2 with: token: ${{ secrets.GITHUB_TOKEN }} from_step: 3 diff --git a/.github/workflows/4-usa-contextos.yml b/.github/workflows/4-usa-contextos.yml index f8966f6..2fc89d2 100644 --- a/.github/workflows/4-usa-contextos.yml +++ b/.github/workflows/4-usa-contextos.yml @@ -66,7 +66,7 @@ jobs: # Update README to close
and open
# and set STEP to '5' - name: Actualizar a paso 5 - uses: skills/action-update-step@v1 + uses: skills/action-update-step@v2 with: token: ${{ secrets.GITHUB_TOKEN }} from_step: 4 diff --git a/.github/workflows/5-uso-variables.yml b/.github/workflows/5-uso-variables.yml index a4a3b1f..dee3b55 100644 --- a/.github/workflows/5-uso-variables.yml +++ b/.github/workflows/5-uso-variables.yml @@ -66,7 +66,7 @@ jobs: # Update README to close
and open
# and set STEP to 'X' - name: Actualizar a paso X - uses: skills/action-update-step@v1 + uses: skills/action-update-step@v2 with: token: ${{ secrets.GITHUB_TOKEN }} from_step: 5 From ad449ccd590824aa4255d587c419250b36c71c90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9=20Torres?= <43612178+JuanJTorres11@users.noreply.github.com> Date: Thu, 10 Aug 2023 18:42:11 -0500 Subject: [PATCH 4/4] Revert "build(deps): bump skills/action-update-step from 1 to 2" --- .github/workflows/0-inicio.yml | 2 +- .github/workflows/1-crea-primer-workflow.yml | 2 +- .github/workflows/2-conoce-triggers.yml | 2 +- .github/workflows/3-aprende-expresiones.yml | 2 +- .github/workflows/4-usa-contextos.yml | 2 +- .github/workflows/5-uso-variables.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/0-inicio.yml b/.github/workflows/0-inicio.yml index af4a097..ed5b1f4 100644 --- a/.github/workflows/0-inicio.yml +++ b/.github/workflows/0-inicio.yml @@ -84,7 +84,7 @@ jobs: # Update README to close
and open
# and set STEP to '1' - name: Actualizar a paso 1 - uses: skills/action-update-step@v2 + uses: skills/action-update-step@v1 with: token: ${{ secrets.GITHUB_TOKEN }} from_step: 0 diff --git a/.github/workflows/1-crea-primer-workflow.yml b/.github/workflows/1-crea-primer-workflow.yml index 18e5e13..ce1cab4 100644 --- a/.github/workflows/1-crea-primer-workflow.yml +++ b/.github/workflows/1-crea-primer-workflow.yml @@ -66,7 +66,7 @@ jobs: # Update README to close
and open
# and set STEP to '2' - name: Actualizar a paso 2 - uses: skills/action-update-step@v2 + uses: skills/action-update-step@v1 with: token: ${{ secrets.GITHUB_TOKEN }} from_step: 1 diff --git a/.github/workflows/2-conoce-triggers.yml b/.github/workflows/2-conoce-triggers.yml index a0532c2..daad349 100644 --- a/.github/workflows/2-conoce-triggers.yml +++ b/.github/workflows/2-conoce-triggers.yml @@ -66,7 +66,7 @@ jobs: # Update README to close
and open
# and set STEP to '3' - name: Actualizar a paso 3 - uses: skills/action-update-step@v2 + uses: skills/action-update-step@v1 with: token: ${{ secrets.GITHUB_TOKEN }} from_step: 2 diff --git a/.github/workflows/3-aprende-expresiones.yml b/.github/workflows/3-aprende-expresiones.yml index 89e85b8..bb45a57 100644 --- a/.github/workflows/3-aprende-expresiones.yml +++ b/.github/workflows/3-aprende-expresiones.yml @@ -66,7 +66,7 @@ jobs: # Update README to close
and open
# and set STEP to '4' - name: Actualizar a paso 4 - uses: skills/action-update-step@v2 + uses: skills/action-update-step@v1 with: token: ${{ secrets.GITHUB_TOKEN }} from_step: 3 diff --git a/.github/workflows/4-usa-contextos.yml b/.github/workflows/4-usa-contextos.yml index 2fc89d2..f8966f6 100644 --- a/.github/workflows/4-usa-contextos.yml +++ b/.github/workflows/4-usa-contextos.yml @@ -66,7 +66,7 @@ jobs: # Update README to close
and open
# and set STEP to '5' - name: Actualizar a paso 5 - uses: skills/action-update-step@v2 + uses: skills/action-update-step@v1 with: token: ${{ secrets.GITHUB_TOKEN }} from_step: 4 diff --git a/.github/workflows/5-uso-variables.yml b/.github/workflows/5-uso-variables.yml index dee3b55..a4a3b1f 100644 --- a/.github/workflows/5-uso-variables.yml +++ b/.github/workflows/5-uso-variables.yml @@ -66,7 +66,7 @@ jobs: # Update README to close
and open
# and set STEP to 'X' - name: Actualizar a paso X - uses: skills/action-update-step@v2 + uses: skills/action-update-step@v1 with: token: ${{ secrets.GITHUB_TOKEN }} from_step: 5