BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Integrating GitHub repositories with Azure Pipelines
Lesson250 words

Integrating GitHub repositories with Azure Pipelines

Design and implement integration between GitHub repositories and Azure Pipelines

Two authentication types, and only one is recommended

TypeRuns asRecommended
GitHub AppThe Azure Pipelines identityYes
OAuthYour personal GitHub identityNo

The GitHub App is the recommended type for CI. Once installed, builds and status updates are performed as Azure Pipelines rather than as a person — so a pipeline does not break when that person leaves, and the audit trail names the service. It also integrates with GitHub Checks to surface build, test and coverage results in the pull request.

Scope it deliberately. Installing the app for all repositories in an organisation gives its token access to all of them, including private ones. Microsoft's guidance is to separate public and private repositories at the organisation level, or to explicitly select the repositories the app may access.

Forks are the security boundary

By default, secrets associated with your pipeline are not made available to pull request validations from forks. Fork PRs do trigger validation builds automatically, but they run without your secrets.

That default is correct and you should think hard before changing it: a fork PR contains code written by someone outside your organisation, and any step it adds would run with whatever credentials you expose. The toggle lives under Triggers → Build pull requests from forks of this repository.

Primary sources

  • https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github
All Designing and Implementing Microsoft DevOps Solutions (AZ-400) Study Resources

Related Notes

  • Agent and runner infrastructure421 words
  • Agent and runner infrastructure — quick notes150 words
  • Alerting on pipeline events255 words
  • Alerting on pipeline events — quick notes94 words
  • Analyzing usage and application performance241 words
  • Analyzing usage and application performance — quick notes73 words
  • Appropriate access levels217 words
  • Appropriate access levels — quick notes85 words
  • Automating container scanning277 words
  • Automating container scanning — quick notes96 words
  • Automating documentation from Git history191 words
  • Automating documentation from Git history — quick notes55 words

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Designing and Implementing Microsoft DevOps Solutions (AZ-400) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.