Skip to content
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

Add the ability to check for open pull request to a different repo. #1658

Merged
1 commit merged into from
Jun 3, 2021

Conversation

chidozieononiwu
Copy link
Member

  • This adds the ability to check for pull request opened from azure-sdk/azure-sdk repo against Azure/azure-sdk repo before cleaning the branch up.

@chidozieononiwu chidozieononiwu requested a review from a team as a code owner June 3, 2021 16:48
@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

@chidozieononiwu chidozieononiwu force-pushed the UpdateDeleteRemoteBranches branch from fbe1aaf to e8e3911 Compare June 3, 2021 19:08
@chidozieononiwu chidozieononiwu force-pushed the UpdateDeleteRemoteBranches branch from e8e3911 to 4f3d6d4 Compare June 3, 2021 19:13
@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

exit 1
}
LogDebug "Branch [ $branchName ] in repo [ $RepoName ] has open pull Requests. Skipping"
LogDebug $openPullRequests.url
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this correctly output if the pull requests list is more then one?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes that works

@ghost
Copy link

ghost commented Jun 3, 2021

Hello @azure-sdk!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 22834b5 into Azure:master Jun 3, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants