Workflows: Don't allow merge if pr in lockdown#46663
Merged
edvilme merged 10 commits intodotnet:mainfrom Feb 10, 2025
Merged
Conversation
Forgind
approved these changes
Feb 9, 2025
Contributor
Contributor
Author
e6d0309 to
cd4bd10
Compare
marcpopMSFT
reviewed
Feb 10, 2025
edvilme
commented
Feb 10, 2025
67a443a to
2a439c2
Compare
marcpopMSFT
approved these changes
Feb 10, 2025
Member
|
@edvilme I added the label check as a required check in main if you want to test it. |
Contributor
Author
|
Contributor
Author
|
/backport to release/8.0.1xx |
Contributor
|
Started backporting to release/8.0.1xx: https://github.com/dotnet/sdk/actions/runs/13251599445 |
Contributor
|
@edvilme an error occurred while backporting to "release/8.0.1xx", please check the run log for details! The process '/usr/bin/git' failed with exit code 1 |
edvilme
added a commit
to edvilme/sdk
that referenced
this pull request
Feb 10, 2025
Co-authored-by: Forgind <12969783+Forgind@users.noreply.github.com>
edvilme
added a commit
to edvilme/sdk
that referenced
this pull request
Feb 26, 2025
Co-authored-by: Forgind <12969783+Forgind@users.noreply.github.com>
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.



There are several situations where we do not want to merge PRs (ie, branch lockdown or "DO NOT MERGE" labels). This adds an extra check to ensure that PRs are not merged in this cases.