Esta versión de GitHub Enterprise se discontinuó el 2021-09-23. No se realizarán lanzamientos de patch, ni siquiera para problemas de seguridad críticos. Para obtener un mejor desempeño, más seguridad y nuevas características, actualiza a la última versión de GitHub Enterprise. Para obtener ayuda con la actualización, contacta al soporte de GitHub Enterprise.

Utilizar plantillas de flujo de trabajo

GitHub Enterprise Server provides workflow templates for a variety of languages and tooling.

Nota: GitHub Actions estuvo disponible para GitHub Enterprise Server 2.22 como un beta limitado. El beta terminó. GitHub Actions está ahora disponible habitualmente en GitHub Enterprise Server 3.0 o superior. Para obtener más información, consulta la sección de notas de lanzamiento para GitHub Enterprise Server 3.0.


Nota: Los ejecutores hospedados en GitHub no son compatibles con GitHub Enterprise Server actualmente. Puedes encontrar más información sobre el soporte que se tiene planeado en el futuro en el Itinerario público de GitHub.

Acerca de plantillas de flujo de trabajo

GitHub Enterprise Server offers workflow templates for a variety of languages and tooling. When you set up workflows in your repository, GitHub Enterprise Server analyzes the code in your repository and recommends workflows based on the language and framework in your repository. Por ejemplo, si utilizas Node.js, GitHub Enterprise Server te sugerirá un archivo de plantilla que instala tus paquetes de Node.js y ejecuta tus pruebas.

You can also create your own workflow templates to share with your organization. For more information, see "Creating workflow templates."

Utilizar plantillas de flujo de trabajo

Anyone with write permission to a repository can set up GitHub Actions workflows for CI/CD or other automation.

  1. En GitHub Enterprise Server, visita la página principal del repositorio.
  2. Debajo del nombre de tu repositorio, da clic en Acciones. Pestaña de acciones en la navegación del repositorio principal
  3. If you already have a workflow in your repository, click New workflow.
  4. Find the template that you want to use, then click Set up this workflow.
  5. If the workflow template contains comments detailing additional setup steps, follow these steps.
  6. Some workflow templates use secrets. For example, ${{ secrets.npm_token }}. If the workflow template uses a secret, store the value described in the secret name as a secret in your repository. Para obtener más información, consulta "Secretos cifrados".
  7. Optionally, make additional changes. For example, you might want to change the value of on to change when the workflow runs.
  8. Haz clic en Iniciar confirmación.
  9. Write a commit message and decide whether to commit directly to the default branch or to open a pull request.

Leer más