ci: fix workflow triggering extended tests from pr comments. #15704
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rationale for this change
Triggering extended tests failed here: https://github.com/apache/datafusion/actions/runs/14439917392
For creating a workflow with workflow_dispatch, you can't specify a branch name in another repo as the ref.
Instead you need a local branch name and to send which PR to checkout as a parameter.
It sucks a bit that in the Actions list it looks like a test on
main, but I'm not sure there's a better alternative.Are these changes tested?
Here's the trigger working in ashdnazg#1 with the correct hash being used: https://github.com/ashdnazg/datafusion/actions/runs/14443854280/job/40499839662#step:2:3
Here's the test working as usual on push to main: https://github.com/ashdnazg/datafusion/actions/runs/14443836470/job/40499776589#step:2:2
Are there any user-facing changes?
No