Using workflow templates

You can set up CI using a workflow template that matches the language and tooling you want to use.

GitHub Actions is available with GitHub Free, GitHub Pro, GitHub Free for organizations, GitHub Team, GitHub Enterprise Cloud, GitHub Enterprise Server, and GitHub AE. GitHub Actions is not available for private repositories owned by accounts using legacy per-repository plans.

Note: GitHub Actions is currently in beta for GitHub AE.

Anyone with write permission to a repository can set up continuous integration (CI) using GitHub Actions.

After you set up CI, you can customize the workflow to meet your needs.

  1. On GitHub AE, navigate to the main page of the repository.
  2. Under your repository name, click Actions. Actions tab in the main repository navigation
  3. Find the template that matches the language and tooling you want to use, then click Set up this workflow. Setup workflow button
  4. Click Start commit. Start commit button
  5. At the bottom of the page, type a short, meaningful commit message that describes the change you made to the file. You can attribute the commit to more than one author in the commit message. For more information, see "Creating a commit with multiple co-authors." Commit message for your change
  6. Below the commit message fields, decide whether to add your commit to the current branch or to a new branch. If your current branch is the default branch, you should choose to create a new branch for your commit and then create a pull request. For more information, see "Creating a new pull request." Commit branch options
  7. Click Propose new file. Propose new file button

Once a push is made to your repository, you can follow the status and detailed logs of your continuous integration workflow run on GitHub and receive customized notifications. For more information, see "Configuring notifications" and "Managing a workflow run."

A status badge shows whether a workflow is currently failing or passing. A common place to add a status badge is in the file of your repository, but you can add it to any web page you'd like. By default, badges display the status of your default branch. You can also display the status of a workflow run for a specific branch or event using the branch and event query parameters in the URL.

example status badge

For more information, see "Adding a workflow status badge."

Further reading

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.