Skip to content

ci: add shell: bash to safe-chain install steps#216

Draft
Seth-Schmidt wants to merge 1 commit into
mainfrom
feature/pro-556-add-shell-bash-to-the-safe-chain-installation-step-in-the
Draft

ci: add shell: bash to safe-chain install steps#216
Seth-Schmidt wants to merge 1 commit into
mainfrom
feature/pro-556-add-shell-bash-to-the-safe-chain-installation-step-in-the

Conversation

@Seth-Schmidt

Copy link
Copy Markdown
Contributor

Summary

Adds the missing shell: bash to the safe-chain install step in the two
workflows that lacked it. Without shell: bash, the step runs under the
default shell without set -o pipefail, so a curl … | sh install where
curl fails (e.g. a 404 install URL) silently succeeds defeating the
malicious-package guard.

Changes

  • dependency-safe-chain-check.yml — add shell: bash.
  • contracts-confidential-batcher-tests.yml — add shell: bash, and bump the
    pinned safe-chain version 1.5.3 to 1.5.8 to match every other workflow.

Without `shell: bash`, GitHub Actions runs the step under the default shell
which does not apply `set -o pipefail`, so a `curl ... | sh` install where
curl fails (e.g. a 404 install URL) silently succeeds. Every other workflow
already sets `shell: bash` on this step; align the two that did not:

- dependency-safe-chain-check.yml
- contracts-confidential-batcher-tests.yml (also bumped the pinned
  safe-chain version from 1.5.3 to 1.5.8 to match the rest of the repo).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Seth-Schmidt Seth-Schmidt self-assigned this Jul 17, 2026
@cla-bot cla-bot Bot added the cla-signed label Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant