Skip to content

stefafafan/setup-safe-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

setup-safe-chain

Warning

This is an unofficial community GitHub Action for installing AikidoSec/safe-chain in GitHub Actions.

This action downloads the versioned Safe Chain installer, verifies the installer SHA256 digest, and runs the installer in CI mode. It is a small wrapper around the upstream release installer and is not affiliated with Aikido Security.

A first-party GitHub Action is being discussed in AikidoSec/safe-chain#289. This community action is intended as a stopgap and should no longer be necessary if AikidoSec ships an official action.

Usage

Pin this action to a commit SHA in security-sensitive workflows.

steps:
  - name: Set up Safe Chain
    uses: stefafafan/setup-safe-chain@c79140b29f85f5c0efc883c1039e7e8cb728803f # v0.0.1
    with:
      version: 1.5.1
      installer-sha256: 7c910fff717649c86cc8ca960e6c054d3734da2d660050e3bcfc54029e3b485b

Inputs

Input Required Description
version yes Safe Chain release version to install.
installer-sha256 yes 64-character SHA256 hex digest of install-safe-chain.sh for the selected release.

Finding the Installer SHA256

GitHub release assets expose a digest field. For example:

gh api "repos/AikidoSec/safe-chain/releases/tags/1.5.1" \
  --jq '.assets[] | select(.name == "install-safe-chain.sh").digest | sub("^sha256:"; "")'

About

Unofficial community GitHub Action for installing Aikido Safe Chain

Resources

License

Stars

Watchers

Forks

Contributors

Languages