File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,11 +58,18 @@ jobs:
5858 - name : Use Mise
5959 uses : ./actions/use-mise
6060 with :
61- github-token : ${{ github.token }}
61+ github_token : ${{ github.token }}
62+
63+ - name : Verify github_token was forwarded to mise-action
64+ run : |
65+ if [ -z "${MISE_GITHUB_TOKEN:-}" ]; then
66+ echo "::error::MISE_GITHUB_TOKEN is unset — use-mise did not forward github_token to jdx/mise-action"
67+ exit 1
68+ fi
6269
6370 - name : Verify mise version matches pinned version
6471 run : |
65- expected=$(yq '.runs.steps[0] .with.version' actions/use-mise/action.yml)
72+ expected=$(yq '( .runs.steps[] | select(.uses | test("^jdx/mise-action"))) .with.version' actions/use-mise/action.yml)
6673 actual=$(mise --version | awk '{print $1}')
6774 echo "Expected: $expected"
6875 echo "Actual: $actual"
Original file line number Diff line number Diff line change 11name : ' Use Mise'
22description : ' Use Mise with a pinned version'
33inputs :
4- github-token :
4+ github_token :
55 description : ' Github token to use'
66 required : true
77 working_directory :
1212 steps :
1313 - uses : jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
1414 with :
15- github_token : ${{ inputs.GITHUB_TOKEN }}
15+ github_token : ${{ inputs.github_token }}
1616 working_directory : ${{ inputs.working_directory }}
1717 version : 2026.3.13
1818 sha256 : ${{ runner.os == 'Linux' && runner.arch == 'X64' && '806790b4a71c93d20e027c40ddf38470fa6e26555275b1181a3c2ccc082ef56f' ||
You can’t perform that action at this time.
0 commit comments