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

PR to test the GH action that auto switches the target branch for dependabot PRs #2462

Open robyngit opened 2 weeks ago

robyngit commented 2 weeks ago

⚠️ DO NOT MERGE THIS PR! ⚠️


This is a branch to test the new GitHub action introduced in https://github.com/NCEAS/metacatui/pull/2457.

The action must use the pull_request_target trigger to run. The pull_request_target uses code from the target branch, not the PR branch. Therefore, to test this PR, we must target a branch that has the new GH action file in it.

The is being opened with the target test branch: fake-2456-test-gh-action. This test branch contains the workflow code, except that it has been modified to update the target branch of PRs from fake-2456-test-gh-action to develop instead of from main to develop.

robyngit commented 2 weeks ago

It worked! See that the base branch was switched from fake-2456-test-gh-action to develop by the github-actions bot:

Screenshot 2024-06-19 at 1 11 02 PM