Add support of specifying branch of the pipeline + ability of waiting for the results#81
Open
LA-Toth wants to merge 21 commits intoAzure:masterfrom
Open
Add support of specifying branch of the pipeline + ability of waiting for the results#81LA-Toth wants to merge 21 commits intoAzure:masterfrom
LA-Toth wants to merge 21 commits intoAzure:masterfrom
Conversation
Error handling added
* Bump @actions/core from 1.1.3 to 1.2.6 (Azure#19) Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.1.3 to 1.2.6. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Core module upgrade Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Added L0 test file
Default is 10 seconds. The time unit is seconds.
Author
|
@microsoft-github-policy-service agree |
Author
Author
|
For me, it looks like that the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.