Azure / pipelines

Enable GitHub developers to trigger Azure Pipelines from a GitHub Actions workflow
MIT License
73 stars 83 forks source link

Add support of specifying branch of the pipeline + ability of waiting for the results #81

Open LA-Toth opened 1 year ago

LA-Toth commented 1 year ago

Based on v1.2

The original implementation didn't wait for the results of the started pipeline, and only the default branch was supported.

The action can wait for the pipeline result, and if it's passed, the action is passed, otherwise it's failed. The results are checked in every X seconds, which is configurable and the default is 10 seconds. This feature blocks the currently used GitHub runner.

The branch of the pipeline can also be specified.

I also made code cleanup, because the tests didn't work at all, and the code now uses UNIX new lines.

elliotzh commented 10 months ago

Hi @LA-Toth & @Josh-01 , do we have any plan to merge this pull request?

LA-Toth commented 10 months ago

@microsoft-github-policy-service agree

LA-Toth commented 10 months ago

Hi @LA-Toth & @Josh-01 , do we have any plan to merge this pull request?

Honestly, I completely forgot this PR. I think it would be great if this could be merged.

LA-Toth commented 10 months ago

For me, it looks like that the master branch is not the main branch of the repo, but the releases/v1 or something like that, somehow a non-master branch has more features. This is my branch diverged from master. But now I'm unsure what to do.