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

Add GH action to switch dependabot base branch to develop #2457

Closed robyngit closed 1 week ago

robyngit commented 2 weeks ago

From issue #2456:

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.

PR #2462 shows this workflow in action: It automatically changed the base branch for the PR to develop.