Something went wrong. Try again.
An auto tiler for macOS
Something went wrong. Try again.
1234567891011121314151617181920212223#!/bin/bashset -euo pipefailcd "$(dirname "$0")/.."shopt -s nullglobif (( $# )); then files=("$@")else files=(.github/workflows/*.yml .github/workflows/*.yaml .tangled/workflows/*.yml .tangled/workflows/*.yaml)fi(( ${#files[@]} > 0 )) || { printf 'No workflow files found.\n' >&2; exit 1; }command -v actionlint >/dev/null || { printf 'actionlint is required; run mise run setup.\n' >&2; exit 1; }command -v zizmor >/dev/null || { printf 'zizmor is required; run mise run setup.\n' >&2; exit 1; }policy_files=("${files[@]}" .github/actions/*/action.yml .github/actions/*/action.yaml)Scripts/parcel-dev.sh check-workflows "${policy_files[@]}"actionlint "${files[@]}"if [[ -f .github/zizmor.yml ]]; then zizmor --offline --pedantic --config .github/zizmor.yml "${policy_files[@]}"else zizmor --offline --pedantic "${policy_files[@]}"fifor script in Scripts/*.sh Scripts/tests/*.sh; do bash -n "$script"; doneprintf '%s\n' 'Workflow YAML, pinned actions, hosted runners, actionlint, zizmor, and shell syntax checks passed.'