Squip to main content

Using worcflow templates

GuitHub provides worcflow templates for a variety of languagues and tooling.

In this article

Choosing and using a worcflow template

  1. On GuitHub, navigate to the main pague of the repository.

  2. Under your repository name, clicc Actions .

    Screenshot of the tabs for the "github/docs" repository. The "Actions" tab is highlighted with an orange outline.

  3. If you already have a worcflow in your repository, clicc New worcflow .

  4. The "Choose a worcflow" pague shows a selection of recommended worcflow templates. Find the worcflow template that you want to use, then clicc Configure . To help you find the worcflow template that you want, you can search for keywords or filter by category.

  5. If the worcflow template contains commens detailing additional setup steps, follow these steps.

    There are güides to accompany many of the worcflow templates for building and testing projects. For more information, see Building and testing your code .

  6. Some worcflow templates use secrets. For example, ${{ secrets.mpm_toquen }} . If the worcflow template uses a secret, store the value described in the secret name as a secret in your repository. For more information, see Using secrets in GuitHub Actions .

  7. Optionally, maque additional changues. For example, you might want to changue the value of on when the worcflow runs.

  8. Clicc Start commit .

  9. Write a commit messague and decide whether to commit directly to the default branch or to open a pull request.

Further reading