audit_revision: only check 10 recent related commits
audit_revision: only check 10 recent related commits

It helps to reduce overhead.

Closes #48108.

Signed-off-by: Xu Cheng <9a05244150b861e40c78843b801eed71bca54eac@me.com>

sometimesfood/homebrew,esamson/homebrew,bukzor/linuxbrew,thinker0/homebrew,decors/homebrew,feelpp/homebrew,dericed/homebrew,ryanfb/homebrew,OJFord/homebrew,SuperNEMO-DBD/cadfaelbrew,hongkongkiwi/homebrew,sferik/homebrew,Chilledheart/homebrew,sometimesfood/homebrew,SteveClement/homebrew,elgertam/homebrew,ear/homebrew,LinusU/homebrew,jarrettmeyer/homebrew,Homebrew/linuxbrew,brunchboy/homebrew,alebcay/homebrew,kevinastone/homebrew,dericed/homebrew,dongcarl/homebrew,apjanke/homebrew,ilovezfs/homebrew,yazuuchi/homebrew,recruit-tech/homebrew,alebcay/homebrew,Red54/homebrew,skatsuta/homebrew,feelpp/homebrew,SuperNEMO-DBD/cadfaelbrew,ento/homebrew,osimola/homebrew,bigbes/homebrew,skatsuta/homebrew,hakamadare/homebrew,SteveClement/homebrew,hanxue/homebrew,3van/homebrew,LinusU/homebrew,Asuranceturix/homebrew,getgauge/homebrew,tutumcloud/homebrew,theeternalsw0rd/homebrew,royhodgman/homebrew,yumitsu/homebrew,chadcatlett/homebrew,galaxy001/homebrew,SuperNEMO-DBD/cadfaelbrew,teslamint/homebrew,reelsense/linuxbrew,BrewTestBot/homebrew,elyscape/homebrew,totalvoidness/homebrew,slyphon/homebrew,totalvoidness/homebrew,bukzor/linuxbrew,danieroux/homebrew,kodabb/homebrew,adamliter/homebrew,galaxy001/homebrew,booi/homebrew,dunn/homebrew,georgschoelly/homebrew,hongkongkiwi/homebrew,nandub/homebrew,ablyler/homebrew,mobileoverlord/homebrew-1,jarrettmeyer/homebrew,MartinDelille/homebrew,joshfriend/homebrew,dutchcoders/homebrew,MartinDelille/homebrew,AlexejK/homebrew,jsjohnst/homebrew,bigbes/homebrew,teslamint/homebrew,ento/homebrew,ilovezfs/homebrew,scorphus/homebrew,cprecioso/homebrew,getgauge/homebrew,utzig/homebrew,benjaminfrank/homebrew,kenips/homebrew,emcrisostomo/homebrew,hanxue/homebrew,afh/homebrew,sakra/homebrew,adamliter/homebrew,retrography/homebrew,influxdb/homebrew,getgauge/homebrew,hongkongkiwi/homebrew,treyharris/homebrew,gawbul/homebrew,DoomHammer/linuxbrew,influxdb/homebrew,muellermartin/homebrew,ear/homebrew,decors/homebrew,ilovezfs/homebrew,hanxue/homebrew,influxdata/homebrew,hongkongkiwi/homebrew,mobileoverlord/homebrew-1,kodabb/homebrew,skinny-framework/homebrew,theeternalsw0rd/homebrew,retrography/homebrew,vigo/homebrew,Homebrew/homebrew,tschoonj/homebrew,yazuuchi/homebrew,filcab/homebrew,quantumsteve/homebrew,youtux/homebrew,yazuuchi/homebrew,sjackman/linuxbrew,royhodgman/homebrew,quantumsteve/homebrew,ilovezfs/homebrew,drewwells/homebrew,Angeldude/linuxbrew,keith/homebrew,influxdb/homebrew,ExtremeMan/homebrew,lrascao/homebrew,dutchcoders/homebrew,benjaminfrank/homebrew,DoomHammer/linuxbrew,sjackman/linuxbrew,reelsense/linuxbrew,Linuxbrew/linuxbrew,dickeyxxx/homebrew,Homebrew/linuxbrew,josa42/homebrew,deorth/homebrew,quantumsteve/homebrew,LinusU/homebrew,influxdb/homebrew,frodeaa/homebrew,cosmo0920/homebrew,ryanfb/homebrew,menivaitsi/homebrew,Homebrew/homebrew,sakra/homebrew,ebouaziz/linuxbrew,emcrisostomo/homebrew,cprecioso/homebrew,royhodgman/homebrew,BrewTestBot/homebrew,polishgeeks/homebrew,gicmo/homebrew,thinker0/homebrew,jamer/homebrew,theeternalsw0rd/homebrew,mkrapp/homebrew,reelsense/homebrew,jamer/homebrew,booi/homebrew,johanhammar/homebrew,TaylorMonacelli/homebrew,osimola/homebrew,AlexejK/homebrew,sjackman/linuxbrew,Red54/homebrew,ybott/homebrew,tschoonj/homebrew,Homebrew/homebrew,hakamadare/homebrew,scorphus/homebrew,BrewTestBot/homebrew,keith/homebrew,johanhammar/homebrew,elgertam/homebrew,gnubila-france/linuxbrew,galaxy001/homebrew,saketkc/linuxbrew,OJFord/homebrew,Asuranceturix/homebrew,scorphus/homebrew,skinny-framework/homebrew,polishgeeks/homebrew,josa42/homebrew,reelsense/linuxbrew,menivaitsi/homebrew,ablyler/homebrew,slyphon/homebrew,elyscape/homebrew,recruit-tech/homebrew,kevinastone/homebrew,sakra/homebrew,slyphon/homebrew,cscetbon/homebrew,osimola/homebrew,redpen-cc/homebrew,scpeters/homebrew,georgschoelly/homebrew,dplarson/homebrew,dunn/homebrew,AlexejK/homebrew,Homebrew/linuxbrew,saketkc/linuxbrew,danieroux/homebrew,Asuranceturix/homebrew,muellermartin/homebrew,MoSal/homebrew,danieroux/homebrew,AlexejK/homebrew,dericed/homebrew,elyscape/homebrew,esamson/homebrew,ybott/homebrew,tschoonj/homebrew,afh/homebrew,joshfriend/homebrew,menivaitsi/homebrew,ExtremeMan/homebrew,OJFord/homebrew,reelsense/homebrew,hakamadare/homebrew,ebouaziz/linuxbrew,hakamadare/homebrew,MoSal/homebrew,gicmo/homebrew,brunchboy/homebrew,eighthave/homebrew,cscetbon/homebrew,DoomHammer/linuxbrew,gnubila-france/linuxbrew,scorphus/homebrew,Red54/homebrew,recruit-tech/homebrew,vigo/homebrew,dickeyxxx/homebrew,haihappen/homebrew,adamliter/homebrew,decors/homebrew,decors/homebrew,cscetbon/homebrew,sometimesfood/homebrew,base10/homebrew,ralic/homebrew,benjaminfrank/homebrew,treyharris/homebrew,eighthave/homebrew,jarrettmeyer/homebrew,kenips/homebrew,ebouaziz/linuxbrew,retrography/homebrew,kodabb/homebrew,ear/homebrew,optikfluffel/homebrew,marcwebbie/homebrew,johanhammar/homebrew,retrography/homebrew,SteveClement/homebrew,base10/homebrew,Homebrew/linuxbrew,redpen-cc/homebrew,kevinastone/homebrew,iostat/homebrew2,apjanke/homebrew,booi/homebrew,dalanmiller/homebrew,ralic/homebrew,bigbes/homebrew,base10/homebrew,redpen-cc/homebrew,kodabb/homebrew,slyphon/homebrew,afh/homebrew,joshfriend/homebrew,kevinastone/homebrew,OJFord/homebrew,reelsense/homebrew,georgschoelly/homebrew,ablyler/homebrew,gicmo/homebrew,brunchboy/homebrew,MoSal/homebrew,reelsense/linuxbrew,marcwebbie/homebrew,influxdata/homebrew,drbenmorgan/linuxbrew,optikfluffel/homebrew,michaKFromParis/homebrew-sparks,sjackman/linuxbrew,theeternalsw0rd/homebrew,liamstask/homebrew,redpen-cc/homebrew,Linuxbrew/linuxbrew,nandub/homebrew,MartinDelille/homebrew,apjanke/homebrew,filcab/homebrew,apjanke/homebrew,pcottle/homebrew,drbenmorgan/linuxbrew,quantumsteve/homebrew,tutumcloud/homebrew,vigo/homebrew,bukzor/linuxbrew,eighthave/homebrew,mobileoverlord/homebrew-1,mkrapp/homebrew,liamstask/homebrew,SuperNEMO-DBD/cadfaelbrew,dericed/homebrew,pcottle/homebrew,jamer/homebrew,iostat/homebrew2,danieroux/homebrew,LinusU/homebrew,haihappen/homebrew,tutumcloud/homebrew,Chilledheart/homebrew,marcwebbie/homebrew,ExtremeMan/homebrew,Asuranceturix/homebrew,youtux/homebrew,deorth/homebrew,brunchboy/homebrew,esamson/homebrew,drewwells/homebrew,dplarson/homebrew,utzig/homebrew,gnubila-france/linuxbrew,sakra/homebrew,haihappen/homebrew,gnubila-france/linuxbrew,dutchcoders/homebrew,cprecioso/homebrew,elgertam/homebrew,polishgeeks/homebrew,ablyler/homebrew,drbenmorgan/linuxbrew,saketkc/linuxbrew,ybott/homebrew,alebcay/homebrew,influxdata/homebrew,iostat/homebrew2,recruit-tech/homebrew,TaylorMonacelli/homebrew,afh/homebrew,sferik/homebrew,reelsense/homebrew,frodeaa/homebrew,nandub/homebrew,benjaminfrank/homebrew,teslamint/homebrew,dunn/homebrew,nandub/homebrew,kenips/homebrew,pcottle/homebrew,ralic/homebrew,dickeyxxx/homebrew,esamson/homebrew,SteveClement/homebrew,filcab/homebrew,thinker0/homebrew,gawbul/homebrew,dalanmiller/homebrew,base10/homebrew,scpeters/homebrew,gawbul/homebrew,utzig/homebrew,haihappen/homebrew,Asuranceturix/homebrew,skinny-framework/homebrew,ExtremeMan/homebrew,Red54/homebrew,teslamint/homebrew,keith/homebrew,iostat/homebrew2,drewwells/homebrew,jsjohnst/homebrew,muellermartin/homebrew,sferik/homebrew,galaxy001/homebrew,osimola/homebrew,Angeldude/linuxbrew,Chilledheart/homebrew,hanxue/homebrew,liamstask/homebrew,jsjohnst/homebrew,3van/homebrew,johanhammar/homebrew,utzig/homebrew,skatsuta/homebrew,pcottle/homebrew,eighthave/homebrew,cosmo0920/homebrew,elyscape/homebrew,lrascao/homebrew,dongcarl/homebrew,ralic/homebrew,cprecioso/homebrew,tutumcloud/homebrew,dickeyxxx/homebrew,dunn/homebrew,jsjohnst/homebrew,cosmo0920/homebrew,cosmo0920/homebrew,dalanmiller/homebrew,ear/homebrew,ento/homebrew,frodeaa/homebrew,MartinDelille/homebrew,adamliter/homebrew,keith/homebrew,feelpp/homebrew,royhodgman/homebrew,jarrettmeyer/homebrew,ybott/homebrew,ryanfb/homebrew,SteveClement/homebrew,filcab/homebrew,TaylorMonacelli/homebrew,bigbes/homebrew,treyharris/homebrew,polishgeeks/homebrew,yumitsu/homebrew,youtux/homebrew,muellermartin/homebrew,elgertam/homebrew,yazuuchi/homebrew,youtux/homebrew,michaKFromParis/homebrew-sparks,marcwebbie/homebrew,georgschoelly/homebrew,dplarson/homebrew,scpeters/homebrew,kenips/homebrew,pcottle/homebrew,BrewTestBot/homebrew,gicmo/homebrew,sferik/homebrew,jamer/homebrew,dongcarl/homebrew,ebouaziz/linuxbrew,Chilledheart/homebrew,scpeters/homebrew,sometimesfood/homebrew,liamstask/homebrew,getgauge/homebrew,TaylorMonacelli/homebrew,dplarson/homebrew,lrascao/homebrew,bukzor/linuxbrew,3van/homebrew,influxdata/homebrew,vigo/homebrew,skinny-framework/homebrew,menivaitsi/homebrew,optikfluffel/homebrew,drewwells/homebrew,dalanmiller/homebrew,mkrapp/homebrew,ryanfb/homebrew,Linuxbrew/linuxbrew,dutchcoders/homebrew,skatsuta/homebrew,dongcarl/homebrew,DoomHammer/linuxbrew,Angeldude/linuxbrew,Homebrew/homebrew,feelpp/homebrew,emcrisostomo/homebrew,yumitsu/homebrew,optikfluffel/homebrew,drbenmorgan/linuxbrew,emcrisostomo/homebrew,ento/homebrew,Angeldude/linuxbrew,thinker0/homebrew,frodeaa/homebrew,chadcatlett/homebrew,deorth/homebrew,MoSal/homebrew,michaKFromParis/homebrew-sparks,chadcatlett/homebrew,totalvoidness/homebrew,alebcay/homebrew,treyharris/homebrew,tschoonj/homebrew,Linuxbrew/linuxbrew,totalvoidness/homebrew,3van/homebrew,josa42/homebrew,mobileoverlord/homebrew-1,saketkc/linuxbrew