-
Notifications
You must be signed in to change notification settings - Fork 164
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
The pull pipeline should fail if old PR is still active during automated pull #741
The pull pipeline should fail if old PR is still active during automated pull #741
Comments
Hi @nishantmittal6239,
Then you will see additional updates to the active PR instead - and each update based on the latest commit to 'main' if there has been any other changes in between. Works quite well for me! |
@nishantmittal6239 , @jsandquist, |
An additional option could be fine - to communicate that there is an alternative way the client might prefer or at least consider. |
@jsandquist - do you want to make a contribution to the pipeline with this as an option? |
Sure - I can give it a go. Further discussions in the PR as soon as it shows up around here somewhere... The setting should probably go into a variable group for Azure Pipelines. And similar for GitHub Actions. My first cut below - for Azure Pipelines and rather untested - where PowerShell might be preferred following AzOps-Accelerator#120:
|
This looks good to me, feel free to continue with PR in the accelerator-repo as well as wiki. |
Description:
We have a pull pipeline which run after every 6 hours to fetch the latest changes from the portal. This pipeline creates a PR that requires a manual approval so If the PR is not approved and completed before the next pull run then it should fail the pipeline instead of just giving the message. See screenshot attached.
Screenshots
The text was updated successfully, but these errors were encountered: