'Change target branch of open dependabot PR?

Is it possible to change the target branch of a Pull Request that dependabot has opened?

We have set up dependabot to usually target a specific branch, that is not main, but for security updates it will still target main (as discussed on this question). So, I would like to re-target those PRs which are targeting main directly to our normal testing branch.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source