There are many ways to achieve your needs. You can refer to the sample I implemented using Azure pipelines(I assume your repository is imported from GitHub to azure repos):
1.Create a pipeline and choose your GitHub repo as source:

2.Here is my configuration of the yaml file:
trigger: - '*'//This pipeline will run whenever you push an update to the GitHub repo pool: vmImage: 'windows-latest' steps: - task: gitmirror@0//You can install this task in marketplace inputs: GitRepoUrl: 'https://{PAT}@dev.azure.com/{Organization Name}/{Project Name}/_git/{Repo Name}.git'//This is the URL of Azure Repo, you need to add a personal access token in the URL
3.Now, when you update the files in GitHub, it will trigger the pipeline in Azure DevOps and then update your Azure repository.