NCEAS / metacatui

MetacatUI: A client-side web interface for DataONE data repositories
https://nceas.github.io/metacatui
Apache License 2.0
42 stars 24 forks source link

Automatically change target branch for dependabot PRs from `main` to `develop` #2456

Closed robyngit closed 1 week ago

robyngit commented 2 weeks ago

Dependabot PRs target the main branch by default and there is no setting to change this. Our development workflow requires these PRs to target the develop branch instead. If we forget to manually change to the target branch for a PR, then we risk committing directly to main (as has happened before).

Solution: Implement a GitHub Action that automatically changes the target branch from main to develop for all Dependabot PRs.