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.
⚠️ 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. Thepull_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 fromfake-2456-test-gh-action
to develop instead of frommain
to develop.