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.
Related to DRIVERS-2852
The GitHub Action does not explicitly use a shell when calling
run-orchestration.sh
, but instead relies on the shebang to choose the appropriate shell. This causes warnings when running the action:This PR changes all shebangs to use
/usr/bin/env bash
, so that any invocations of scripts that do not explicitly usesh
(as is the case in some evergreen configs) use bash. This removes warnings above.Note that any drivers that have not yet completed DRIVERS-2852 (currently C, C++, Node, Ruby, Rust) might see changes in behaviour on Evergreen if they do not use an explicit shell when invoking run-orchestration.sh or any other script changed here. I don't think there are any negative side-effects to this, but wanted to point it out.
Testing
To test this PR, change the
uses
key in the GitHub Action Workflow using this action to the following, then run the workflow:A green build with no warnings indicates that this PR does what it's supposed to do.