Commit 26e91fa
committed
ci: adapt auto-merge check for GitHub apps bots (leanprover-community#34980)
The steps in our build workflow which determine whether to act on the `auto-merge-after-CI` label are [failing](https://github.com/leanprover-community/mathlib4/actions/runs/21793023184/job/62877678664?pr=34967#step:8:11) when one of our new GitHub apps bots has applied the label, since the username no longer corresponds to a user.
We fix that by whitelisting the bot usernames. ([Usernames must be unique across both bots and users](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app#registering-a-github-app) so it should be impossible for someone to pose as one of them.)
Noticed in [#nightly-testing > Mathlib &leanprover-community#96;lake update&leanprover-community#96; failure @ 💬](https://leanprover.zulipchat.com/#narrow/channel/428973-nightly-testing/topic/Mathlib.20.60lake.20update.60.20failure/near/572616935).1 parent 019f853 commit 26e91fa
1 file changed
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
774 | 774 | | |
775 | 775 | | |
776 | 776 | | |
777 | | - | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
778 | 781 | | |
779 | 782 | | |
780 | 783 | | |
| |||
784 | 787 | | |
785 | 788 | | |
786 | 789 | | |
787 | | - | |
788 | | - | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
789 | 798 | | |
790 | 799 | | |
791 | 800 | | |
| 801 | + | |
792 | 802 | | |
793 | 803 | | |
794 | 804 | | |
| |||
0 commit comments