-
check-spelling should be able to work with anything.
-
macOS has some file system character constraints that have proven to be a bit problematic.
docker run -it alpine
| #!/bin/sh | |
| #/usr/local/bin/wait-for-tcp-port.sh | |
| instance="$1" | |
| host="${instance%%:*}" | |
| port="${instance##*:}" | |
| start=10 | |
| loop=$start | |
| while true | |
| do | |
| nc -zvw3 "$host" "$port" 2>/dev/null >/dev/null |
| gh_collect_repo_workflow_logs() { | |
| OWNER="$1" | |
| REPO="$2" | |
| for workflow_run in $(gh api "/repos/$OWNER/$REPO/actions/runs" |jq -r -M '.workflow_runs[].id'); do | |
| for job in $( | |
| gh api "/repos/$OWNER/$REPO/actions/runs/$workflow_run/jobs" | jq '.jobs[].id' | |
| ); do | |
| gh run view -R "$OWNER/$REPO" --log -j $job > "$workflow_run.$job.log" | |
| done | |
| done |