Search code examples
azure-pipelinesgithub-actions

How can we use GitHub Actions in Azure YML pipelines?


Is there any way to use GitHub Actions in Azure YML pipelines?


Solution

  • No. You can not mix GitHub Actions and Azure YAML pipelines, since they are from two different platforms and have different syntaxes.

    However, in Azure YAML pipelines, you can call the GitHub REST API "Create a workflow dispatch event" to trigger a GitHub Actions workflow run.

    And in GitHub Actions workflow, you can use the "Azure Pipelines Action" to trigger a pipeline.