Hello Rostyslav Kalat
Welcome to the Microsoft Q&A forum..
A similar issue was discussed on the below Stackoverflow forums.
https://stackoverflow.com/questions/65739940/azure-devops-pipelines-resource-trigger-not-working
In case if you need further help, I suggest to post the question in the Azure DevOps dedicated channel: https://developercommunity.visualstudio.com/AzureDevOps
I hope this helps.