-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to link Azure DevOps pipeline with GitHub repo #13
Comments
Looks like In your case, one option would be to send the commit id from your git workflow to the az pipeline as a run time variable and use it in a checkout step in the pipeline. #11 has the variables feature you can use. |
Yeah, that was the only logical explanation I came up with but I just don't see the point of the
Quite confusing all that I must say. Too much links in both ways. Or perhaps it's just my usecase that's special. Because the pipeline is defined in a repo in Azure, and this repo has a submodule that's hosted on github and will be open-sourced. I need to be able to trigger the Azure pipeline and make sure the github submodule checkout the |
A cleaner solution for your scenario would be the one described here microsoft/azure-pipelines-yaml#291 Unfortunately it seems that the pipeline resource triggers are not working as expected yet :( |
@ionutleca is this still a valid scenario for you? |
@DS-MS I didn't invest any more time into moving to GitHub actions from AzureDevOps, so no. But I think that anyone that has to make this transition, will need these basic features (pass variables, select target branch, etc.) |
Hi, I'm trying to configure a workflow on a GitHub project using the
Azure/pipeline@v1
action and facing a problem. I can successfully trigger the pipeline in Azure DevOps, but it always checkout themaster
branch from github rather than the PR opened.I can see the log is trigger from the following: https://github.com/Azure/pipelines/blob/master/src/pipeline.runner.ts#L82
but it is unclear how I can do the link suggested by the comment on line 76
My pipeline on DevOps uses multiple checkout (self and a github repo using a GitHubServiceConnection) and is hosted in a DevOps repository.
Thanks for you help.
The text was updated successfully, but these errors were encountered: