Bitzu

AZ-400 ยท Pipeline foundations

GitHub Actions vs Azure Pipelines

Feature and licensing comparison, when to pick each, using Azure Pipelines with GitHub repositories (GitHub App, service connection, status checks), migrating between them.

Key points

  • Both are YAML-based CI/CD engines.
  • GitHub Actions: workflows in .github/workflows, triggered by GitHub events.
  • Azure Pipelines: builds GitHub, Azure Repos and other repos; Azure Pipelines GitHub App recommended (GitHub Checks).
  • Free Microsoft-hosted private tier: one parallel job, 60 minutes per run, 1,800 minutes per month.
  • Migration: pool to runs-on, task to uses, script to run, dependsOn to needs.

Source: https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops

Practice questions

Single choice

For a private Azure DevOps project on the free Microsoft-hosted tier, what is the monthly time limit?

  1. 900 minutes per month
  2. 1,800 minutes per month
  3. 3,600 minutes per month
  4. No monthly limit at all
Show answer

Answer: B. 1,800 minutes per month

The free tier gives one job of up to 60 minutes per run and 1,800 minutes (30 hours) per month. Paid capacity removes the monthly cap.

Select all that apply

Which statements about building a GitHub repository with Azure Pipelines are true?

  1. The GitHub App is the recommended authentication type for CI
  2. Status updates are posted under the Azure Pipelines identity with the App
  3. GitHub Checks need the App; OAuth does not provide them
  4. The repository must first be imported into Azure Repos
  5. The pipeline YAML file must be stored in Azure Repos
Show answer

Answer: A. The GitHub App is the recommended authentication type for CI, B. Status updates are posted under the Azure Pipelines identity with the App, C. GitHub Checks need the App; OAuth does not provide them

The GitHub App is recommended, runs as the Azure Pipelines identity and enables Checks. The repo does not have to move to Azure Repos, and the YAML file stays in the GitHub repo.

True or false

To use Azure Pipelines for a GitHub repository, you must migrate the repository to Azure Repos.

Show answer

Answer: False

False. Azure Pipelines connects to GitHub repositories directly through the GitHub App, OAuth or a token; no migration is needed.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More AZ-400 topics in this module