File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020
2121 - name : Configure prebuilt ${{ inputs.binary }}
2222 shell : bash
23- run : |
23+ run : | # zizmor: ignore[github-env] validated filename under the trusted workspace path
24+ if [[ ! "${INPUTS_BINARY}" =~ ^[a-zA-Z0-9._-]+$ ]]; then
25+ echo "invalid driver binary name: ${INPUTS_BINARY}" >&2
26+ exit 1
27+ fi
2428 driver="$GITHUB_WORKSPACE/.e2e/prebuilt-driver/${INPUTS_BINARY}"
2529 chmod +x "$driver"
2630 "$driver" --version
Original file line number Diff line number Diff line change 2828
2929 - name : Install Podman and build dependencies
3030 shell : bash
31- run : |
31+ run : | # zizmor: ignore[github-env] persists only literal and trusted runner-derived paths
3232 sudo apt-get update
3333 sudo apt-get install -y --no-install-recommends \
3434 apparmor \
7070
7171 - name : Configure rootless Podman
7272 shell : bash
73- run : |
73+ run : | # zizmor: ignore[github-env] runtime path is derived solely from the runner UID
7474 set -euo pipefail
7575 if ! grep -q "^${USER}:" /etc/subuid; then
7676 sudo usermod --add-subuids 100000-165535 "$USER"
Original file line number Diff line number Diff line change 2626 shell : bash
2727 env :
2828 MISE_VERSION : ${{ inputs.version }}
29- run : |
29+ run : | # zizmor: ignore[github-env] PATH entries are fixed beneath the runner-controlled HOME
3030 set -euo pipefail
3131 curl https://mise.run | sh
3232 export PATH="$HOME/.local/bin:$HOME/.local/share/mise/shims:$PATH"
Original file line number Diff line number Diff line change 4646 matrix :
4747 include : ${{ fromJSON(inputs.suite-matrix) }}
4848 container :
49- image : ghcr.io/nvidia/openshell/ci:latest
49+ image : ghcr.io/nvidia/openshell/ci:37072ee81cd7b294c714bfa5ecc829b6927b3d70
5050 credentials :
5151 username : ${{ github.actor }}
5252 password : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments