we have a version db bot that should update the version db when commits lands on main and the version db is not up to date, however this is not working due to repository rules

I think it'd be better to integrate a check into pull requests and require the v db to be up to date in PR's while possibly offering a comment based interface (e.g. write a comment do: update-version-db) to have some magic commit the v db updates directly into a pull request
we have a version db bot that should update the version db when commits lands on main and the version db is not up to date, however this is not working due to repository rules
I think it'd be better to integrate a check into pull requests and require the v db to be up to date in PR's while possibly offering a comment based interface (e.g. write a comment
do: update-version-db) to have some magic commit the v db updates directly into a pull request