Skip to content

Commit c5ac6fa

Browse files
committed
fix(ci): resolve remaining zizmor annotations
Signed-off-by: Simon Scatton <[email protected]>
1 parent 17dbe71 commit c5ac6fa

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

‎.github/actions/setup-e2e-driver/action.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ runs:
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

‎.github/actions/setup-e2e-podman/action.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ runs:
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 \
@@ -70,7 +70,7 @@ runs:
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"

‎.github/actions/setup-mise/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs:
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"

‎.github/workflows/e2e-docker-test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)