-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bots] Do not add ciflow/trunk label if the author does not have perm…
…issions (#5025) Do not add ciflow/trunk on merge if the author has no write permission. Instead, abort merge (it would have failed anyways) and post a comment about seeking approvals Change -i permission to check for write permissions instead of write permissions OR has other commit on main Attempts to move some common mocks to be functions so I don't need to stare at urls as much Helps reduce bot fighting in the below case: <img width="884" alt="image" src="https://github.com/pytorch/test-infra/assets/44682903/340a999a-38da-4ab5-9c7d-5ee8643bb0df">
- Loading branch information
Showing
6 changed files
with
164 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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