File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ inputs:
1010 version :
1111 description : " Which version of what-rust-changed to use. The default should usually suffice"
1212 required : false
13- default : " v0.1.0 "
13+ default : " v0.2.1 "
1414outputs :
1515 # These 2 are JSON lists (encoded as strings because github actions, sigh)
1616 blah :
@@ -67,12 +67,13 @@ runs:
6767 shell : bash
6868 env :
6969 WHAT_RUST_CHANGED_CONFIG : ${{ inputs.config }}
70- BASE_REF : remotes/origin/ ${{ inputs.base }}
70+ BASE_REF : ${{ inputs.base }}
7171 run : |
7272 HEAD_REF=$(git rev-parse HEAD)
7373 set -euo pipefail
7474 echo "Head: $HEAD_REF"
7575 echo "Base: $BASE_REF"
76+ git checkout "$BASE_REF"
7677 MERGE_BASE=$(git merge-base $BASE_REF $HEAD_REF)
7778 echo "Merge Base: $MERGE_BASE"
7879 git checkout $MERGE_BASE
You can’t perform that action at this time.
0 commit comments